Permalink
Browse files

Removed redundant check and fixed comment per mwop

  • Loading branch information...
1 parent bc0333a commit 0537d7cf4695a2600f7cf33d29f8abf26b18dd27 Tim Lieberman committed Oct 1, 2012
Showing with 2 additions and 2 deletions.
  1. +2 −2 library/Zend/Form/Element/MultiCheckbox.php
@@ -63,8 +63,8 @@ public function setValueOptions(array $options)
{
$this->valueOptions = $options;
- // Update InArray validator haystack
- if (!is_null($this->validator) && $this->validator instanceof ExplodeValidator) {
+ // Update Explode validator haystack
+ if ($this->validator instanceof ExplodeValidator) {
$validator = $this->validator->getValidator();
$validator->setHaystack($this->getValueOptionsValues());
}

0 comments on commit 0537d7c

Please sign in to comment.