Fixed issue #73.

This commit is contained in:
Parziphal 2014-05-03 08:15:37 -05:00
parent a740918a20
commit 2d03b56bec

View File

@ -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;
}