mirror of
https://github.com/kamilwylegala/cakephp2-php8.git
synced 2024-11-15 11:28:25 +00:00
Merge pull request #890 from dereuromark/master-not-empty-validation
Fix validation error domain for notEmpty
This commit is contained in:
commit
4acc687dcd
1 changed files with 1 additions and 1 deletions
|
@ -280,7 +280,7 @@ class CakeValidationSet implements ArrayAccess, IteratorAggregate, Countable {
|
||||||
$message = __d($this->_validationDomain, $name);
|
$message = __d($this->_validationDomain, $name);
|
||||||
}
|
}
|
||||||
} else {
|
} else {
|
||||||
$message = __d('cake_dev', 'This field cannot be left blank');
|
$message = __d('cake', 'This field cannot be left blank');
|
||||||
}
|
}
|
||||||
|
|
||||||
return $message;
|
return $message;
|
||||||
|
|
Loading…
Reference in a new issue