Merge pull request #890 from dereuromark/master-not-empty-validation

Fix validation error domain for notEmpty
This commit is contained in:
Mark Story 2012-10-09 14:52:11 -07:00
commit 4acc687dcd

View file

@ -280,7 +280,7 @@ class CakeValidationSet implements ArrayAccess, IteratorAggregate, Countable {
$message = __d($this->_validationDomain, $name);
}
} else {
$message = __d('cake_dev', 'This field cannot be left blank');
$message = __d('cake', 'This field cannot be left blank');
}
return $message;