Permalink
Browse files

Little fix in InputFilter/Factory

Hi there!

We can now add error_message option to Input without fallback which caused problems with validation final result.
  • Loading branch information...
1 parent 257488d commit ab878c9fcd9dc7ad53e252515ddce002dc7ac1ed @Kil0p committed Jul 16, 2013
Showing with 1 addition and 0 deletions.
  1. +1 −0 library/Zend/InputFilter/Factory.php
@@ -212,6 +212,7 @@ public function createInput($inputSpecification)
break;
case 'error_message':
$input->setErrorMessage($value);
+ break;
case 'fallback_value':
$input->setFallbackValue($value);
break;

0 comments on commit ab878c9

Please sign in to comment.