Skip to content

Commit

Permalink
Merge pull request #890 from dereuromark/master-not-empty-validation
Browse files Browse the repository at this point in the history
Fix validation error domain for notEmpty
  • Loading branch information
markstory committed Oct 9, 2012
2 parents 2e15689 + e85b2a0 commit 4acc687
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/Cake/Model/Validator/CakeValidationSet.php
Expand Up @@ -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;
Expand Down

0 comments on commit 4acc687

Please sign in to comment.