Skip to content
This repository has been archived by the owner on Jan 8, 2020. It is now read-only.

Commit

Permalink
Fix bug
Browse files Browse the repository at this point in the history
  • Loading branch information
bakura10 committed Sep 2, 2012
1 parent 9e881d7 commit 4eb320f
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions library/Zend/Form/Element/Select.php
Expand Up @@ -106,8 +106,8 @@ public function setOptions($options)
$this->setValueOptions($this->options['options']);
}

if (isset($this->options['create_empty_options'])) {
$this->setShouldCreateEmptyOption($this->options['create_empty_options']);
if (isset($this->options['create_empty_option'])) {
$this->setShouldCreateEmptyOption($this->options['create_empty_option']);
}

return $this;
Expand Down

0 comments on commit 4eb320f

Please sign in to comment.