Browse files

fix validation error domain for notEmpty

$this->_validationDomain for default notEmpty message

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

Please sign in to comment.