diff --git a/laravel/database/eloquent/model.php b/laravel/database/eloquent/model.php index 4fae10a1..45c8c3ca 100644 --- a/laravel/database/eloquent/model.php +++ b/laravel/database/eloquent/model.php @@ -416,7 +416,7 @@ public function changed($attribute) */ public function dirty() { - return ! $this->exists or $this->original !== $this->attributes; + return ! $this->exists or count($this->get_dirty()) > 0; } /**