Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

Properly handle cases where Explode's composed validator is not InArray

  • Loading branch information...
commit 065a5fb744eb13a3e7b2985eb8c82eb628e17770 1 parent a1c7396
Tim Lieberman authored
Showing with 1 addition and 1 deletion.
  1. +1 −1  library/Zend/Form/Element/Select.php
View
2  library/Zend/Form/Element/Select.php
@@ -87,7 +87,7 @@ public function setValueOptions(array $options)
$validator = $this->validator;
}
if ($this->validator instanceof ExplodeValidator
- && $this->validator->getValidator instanceof InArrayValidator
+ && $this->validator->getValidator() instanceof InArrayValidator
){
$validator = $this->validator->getValidator();
}
Please sign in to comment.
Something went wrong with that request. Please try again.