diff --git a/library/Zend/Form/Factory.php b/library/Zend/Form/Factory.php index 45d9d415ec4..d9f47e0f3e7 100644 --- a/library/Zend/Form/Factory.php +++ b/library/Zend/Form/Factory.php @@ -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;