Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

Changed InArray for InArrayValidator that is used as alias

  • Loading branch information...
commit 555519356b7322b0807de1f3dff1f2be937128d7 1 parent 294a7d1
igor authored
Showing with 2 additions and 2 deletions.
  1. +2 −2 library/Zend/Form/Element/Select.php
View
4 library/Zend/Form/Element/Select.php
@@ -81,9 +81,9 @@ public function setValueOptions(array $options)
{
$this->valueOptions = $options;
- // Update InArray validator haystack
+ // Update InArrayValidator validator haystack
if (!is_null($this->validator)) {
- $validator = $this->validator instanceof InArray ? $this->validator : $this->validator->getValidator();
+ $validator = $this->validator instanceof InArrayValidator ? $this->validator : $this->validator->getValidator();
$validator->setHaystack($this->getValueOptionsValues());
}
Please sign in to comment.
Something went wrong with that request. Please try again.