From 2a814581348dc7773f8037176f5e34bc4adb811f Mon Sep 17 00:00:00 2001 From: Ingo Schommer Date: Mon, 12 Jul 2010 06:59:06 +0000 Subject: [PATCH] MINOR Fixed TimeField validation _t() entity name git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/sapphire/branches/2.4@107787 467b73ca-7a2a-4603-9d3b-597d59a354a9 --- forms/TimeField.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/forms/TimeField.php b/forms/TimeField.php index 9a90de193..313392920 100755 --- a/forms/TimeField.php +++ b/forms/TimeField.php @@ -146,7 +146,7 @@ class TimeField extends TextField { if(!Zend_Date::isDate($this->value, $this->getConfig('timeformat'), $this->locale)) { $validator->validationError( $this->name, - _t('TimeField.VALIDDATEFORMAT', sprintf("Please enter a valid time format (%s)", $this->getConfig('timeformat'))), + _t('TimeField.VALIDATEFORMAT', sprintf("Please enter a valid time format (%s)", $this->getConfig('timeformat'))), "validation", false );