Skip to content
This repository
Browse code

fix validation error domain for notEmpty

$this->_validationDomain for default notEmpty message

notEmpty default error message
  • Loading branch information...
commit e85b2a072a07f5b5489ab59625f433e167095b24 1 parent 972d575
Mark authored October 07, 2012
2  lib/Cake/Model/Validator/CakeValidationSet.php
@@ -280,7 +280,7 @@ protected function _processValidationResponse($name, $rule) {
280 280
 				$message = __d($this->_validationDomain, $name);
281 281
 			}
282 282
 		} else {
283  
-			$message = __d('cake_dev', 'This field cannot be left blank');
  283
+			$message = __d('cake', 'This field cannot be left blank');
284 284
 		}
285 285
 
286 286
 		return $message;

0 notes on commit e85b2a0

Please sign in to comment.
Something went wrong with that request. Please try again.