Fix bug in eloquent model.

This commit is contained in:
Taylor Otwell
2012-03-21 10:38:39 -05:00
parent ce9f4f1db7
commit 43212f8505

View File

@@ -404,7 +404,7 @@ abstract class Model {
*/ */
public function changed($attribute) 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);
} }
/** /**