fix validation error domain for notEmpty #890

Merged
merged 1 commit into from Oct 9, 2012
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;