Commit 43212f85 authored by Taylor Otwell's avatar Taylor Otwell

Fix bug in eloquent model.

parent ce9f4f1d
......@@ -404,7 +404,7 @@ abstract class Model {
*/
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);
}
/**
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment