Skip to content

Commit

Permalink
Rely on specific setter
Browse files Browse the repository at this point in the history
  • Loading branch information
Slamdunk committed Jan 30, 2013
1 parent ee45d7b commit 301c64b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion library/Zend/Form/Factory.php
Original file line number Diff line number Diff line change
Expand Up @@ -85,7 +85,7 @@ public function setFormElementManager(FormElementManager $formElementManager)
public function getFormElementManager()
{
if ($this->formElementManager === null) {
$this->formElementManager = new FormElementManager();
$this->setFormElementManager(new FormElementManager());
}

return $this->formElementManager;
Expand Down

0 comments on commit 301c64b

Please sign in to comment.