Forráskód Böngészése

ZF-9913: r22328 missed Form.php

git-svn-id: http://framework.zend.com/svn/framework/standard/trunk@22352 44c647ce-9c0f-0410-b52a-842ac1e357ba
alab 15 éve
szülő
commit
f3d518341c
1 módosított fájl, 2 hozzáadás és 1 törlés
  1. 2 1
      library/Zend/Form.php

+ 2 - 1
library/Zend/Form.php

@@ -3261,7 +3261,7 @@ class Zend_Form implements Iterator, Countable, Zend_Validate_Interface
     public function loadDefaultDecorators()
     {
         if ($this->loadDefaultDecoratorsIsDisabled()) {
-            return;
+            return $this;
         }
 
         $decorators = $this->getDecorators();
@@ -3270,6 +3270,7 @@ class Zend_Form implements Iterator, Countable, Zend_Validate_Interface
                  ->addDecorator('HtmlTag', array('tag' => 'dl', 'class' => 'zend_form'))
                  ->addDecorator('Form');
         }
+        return $this;
     }
 
     /**