CC-3612: Stream->Preferences-> inappropriate error message is popped up

-fixed
This commit is contained in:
denise 2012-04-12 10:01:22 -04:00
parent d06b3573e9
commit 3d156a0516
1 changed files with 2 additions and 2 deletions

View File

@ -33,8 +33,8 @@ class Application_Form_GeneralPreferences extends Zend_Form_SubForm
'required' => false,
'filters' => array('StringTrim'),
'validators' => array(array('regex', false,
array('/^[0-5][0-9](\.\d{1,6})?$/',
'messages' => 'enter a time in seconds 00{.000000}'))),
array('/^[0-9]{1,2}(\.\d{1,6})?$/',
'messages' => 'enter a time in seconds 0{.000000}'))),
'value' => $defaultFade,
'decorators' => array(
'ViewHelper'