Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

fix validation error domain for notEmpty

$this->_validationDomain for default notEmpty message

notEmpty default error message
  • Loading branch information...
commit e85b2a072a07f5b5489ab59625f433e167095b24 1 parent 972d575
@dereuromark dereuromark authored
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.
Something went wrong with that request. Please try again.