Fix selection of parent template group in TemplateGroupAddForm
authorTim Düsterhus <duesterhus@woltlab.com>
Fri, 1 May 2015 12:19:04 +0000 (14:19 +0200)
committerTim Düsterhus <duesterhus@woltlab.com>
Fri, 1 May 2015 12:19:34 +0000 (14:19 +0200)
wcfsetup/install/files/lib/acp/form/TemplateGroupAddForm.class.php

index d316841957d2e69fab92566847451601a7472a3d..937a9aaaf4671a198a7c5b3fd0e1adc37e126058 100644 (file)
@@ -151,9 +151,9 @@ class TemplateGroupAddForm extends AbstractForm {
         * @see \wcf\page\IPage::readData()
         */
        public function readData() {
-               parent::readData();
-               
                $this->availableTemplateGroups = TemplateGroup::getSelectList(array(), 1);
+
+               parent::readData();
        }
        
        /**