Fix bug in eloquent model.
This commit is contained in:
@@ -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);
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
|||||||
Reference in New Issue
Block a user