diff --git a/framework/core/src/Core/Models/Model.php b/framework/core/src/Core/Models/Model.php index 18580ba69..b5f20452b 100755 --- a/framework/core/src/Core/Models/Model.php +++ b/framework/core/src/Core/Models/Model.php @@ -130,9 +130,11 @@ class Model extends Eloquent */ protected function makeValidator() { - $rules = $this->expandUniqueRules(static::$rules); + $dirty = $this->getDirty(); - return static::$validator->make($this->attributes, $rules); + $rules = $this->expandUniqueRules(array_only(static::$rules, array_keys($dirty))); + + return static::$validator->make($dirty, $rules); } /**