From 2d03b56bec3ad8875be2222ee9ab7e2fd4168a1d Mon Sep 17 00:00:00 2001 From: Parziphal Date: Sat, 3 May 2014 08:15:37 -0500 Subject: [PATCH] Fixed issue #73. --- app/models/User.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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; }