Skip to content

Commit

Permalink
fix validation error domain for notEmpty
Browse files Browse the repository at this point in the history
$this->_validationDomain for default notEmpty message

notEmpty default error message
  • Loading branch information
euromark committed Oct 7, 2012
1 parent 972d575 commit e85b2a0
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 e85b2a0

Please sign in to comment.