Fixes same bug in category add form
authorMatthias Schmidt <gravatronics@live.com>
Tue, 12 Jun 2012 20:30:33 +0000 (22:30 +0200)
committerMatthias Schmidt <gravatronics@live.com>
Tue, 12 Jun 2012 20:30:33 +0000 (22:30 +0200)
wcfsetup/install/files/lib/acp/form/AbstractCategoryAddForm.class.php

index b68bdf51774d6a037220cf203b31a10f8514d4b1..e7d3a77a62c4ca73b43f06cbb3a63781a9179ed7 100644 (file)
@@ -114,9 +114,9 @@ abstract class AbstractCategoryAddForm extends ACPForm {
        public $title = '';
        
        /**
-        * @see wcf\page\AbstractPage::assignVariables()
+        * @see wcf\page\AbstractPage::__run()
         */
-       public function __construct() {
+       public function __run() {
                $classNameParts = explode('\\', get_called_class());
                $className = array_pop($classNameParts);
                
@@ -131,7 +131,7 @@ abstract class AbstractCategoryAddForm extends ACPForm {
                        $this->listController = StringUtil::replace(array('AddForm', 'EditForm'), 'List', $className);
                }
                
-               parent::__construct();
+               parent::__run();
        }
        
        /**