Skip to content
Browse files

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

Fix validation error domain for notEmpty
  • Loading branch information...
2 parents 2e15689 + e85b2a0 commit 4acc687dcdfe2ed49ea8847bbed718d68f06569e @markstory markstory committed Oct 9, 2012
Showing with 1 addition and 1 deletion.
  1. +1 −1 lib/Cake/Model/Validator/CakeValidationSet.php
View
2 lib/Cake/Model/Validator/CakeValidationSet.php
@@ -280,7 +280,7 @@ protected function _processValidationResponse($name, $rule) {
$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;

0 comments on commit 4acc687

Please sign in to comment.
Something went wrong with that request. Please try again.