tweak eloquent model change method to not check types.
This commit is contained in:
@@ -502,7 +502,7 @@ abstract class Model {
|
||||
*/
|
||||
public function changed($attribute)
|
||||
{
|
||||
return 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