diff --git a/laravel/database/eloquent/model.php b/laravel/database/eloquent/model.php index 979a86d3..f2c6661a 100644 --- a/laravel/database/eloquent/model.php +++ b/laravel/database/eloquent/model.php @@ -514,7 +514,7 @@ abstract class Model { // All of the aggregate and persistance functions can be passed directly to the query // instance. For these functions, we can simply return the response of the query. - if (in_array($method, array('insert', 'update', 'abs', 'count', 'sum', 'min', 'max', 'avg'))) + if (in_array($method, array('insert', 'update', 'increment', 'decrement', 'abs', 'count', 'sum', 'min', 'max', 'avg'))) { return call_user_func_array(array($this->query, $method), $parameters); }