From e85b2a072a07f5b5489ab59625f433e167095b24 Mon Sep 17 00:00:00 2001 From: euromark Date: Sun, 7 Oct 2012 14:17:31 +0200 Subject: [PATCH] fix validation error domain for notEmpty $this->_validationDomain for default notEmpty message notEmpty default error message --- lib/Cake/Model/Validator/CakeValidationSet.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/Cake/Model/Validator/CakeValidationSet.php b/lib/Cake/Model/Validator/CakeValidationSet.php index 3451f8103..60d41c6fe 100644 --- a/lib/Cake/Model/Validator/CakeValidationSet.php +++ b/lib/Cake/Model/Validator/CakeValidationSet.php @@ -280,7 +280,7 @@ class CakeValidationSet implements ArrayAccess, IteratorAggregate, Countable { $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;