From 61012967cf7c1b634a4b29d75e3738f76328c3bf Mon Sep 17 00:00:00 2001 From: Sam Minnee Date: Mon, 18 Oct 2010 22:25:17 +0000 Subject: [PATCH] MINOR Fixed TimeField validation _t() entity name (from r107787) git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/sapphire/trunk@112695 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 );