Commit 92b2299c authored by Jens Segers's avatar Jens Segers

Fixes #147

parent 9c8bf642
...@@ -246,7 +246,7 @@ abstract class Model extends \Jenssegers\Eloquent\Model { ...@@ -246,7 +246,7 @@ abstract class Model extends \Jenssegers\Eloquent\Model {
{ {
if ($parameters = func_get_args()) if ($parameters = func_get_args())
{ {
$query = $this->newQuery(); $query = $this->setKeysForSaveQuery($this->newQuery());
return call_user_func_array(array($query, 'push'), $parameters); return call_user_func_array(array($query, 'push'), $parameters);
} }
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment