Fix bug in eloquent model.

This commit is contained in:
Taylor Otwell 2012-03-21 10:38:39 -05:00
parent ce9f4f1db7
commit 43212f8505
1 changed files with 1 additions and 1 deletions

View File

@ -404,7 +404,7 @@ final public function sync()
*/
public function changed($attribute)
{
array_get($this->attributes, $attribute) !== array_get($this->original, $attribute);
return array_get($this->attributes, $attribute) !== array_get($this->original, $attribute);
}
/**