We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 53e4251 commit b528061Copy full SHA for b528061
src/validators/UnchangeableValidator.php
@@ -9,7 +9,7 @@ class UnchangeableValidator extends Validator {
9
/**
10
* @var boolean : Value passed to the `$identical` argument for `isAttributeChanged()`
11
*/
12
- public $identical = true;
+ public $identical = false;
13
14
public function validateAttribute($model, $attribute) {
15
if ( ! $model->isNewRecord && $model->isAttributeChanged($attribute, $this->identical)) {
0 commit comments