diff --git a/app/models/User.php b/app/models/User.php index 914d22c..5a480e1 100755 --- a/app/models/User.php +++ b/app/models/User.php @@ -437,7 +437,7 @@ class User extends Rails\ActiveRecord\Base elseif (method_exists($record, $method)) return $record->$method($this); elseif (method_exists($record, 'can_change')) - $record->can_change($this, $attribute); + return $record->can_change($this, $attribute); else return true; }