From c3abd92d21240e78e465655831782e7167c4725c Mon Sep 17 00:00:00 2001 From: =?utf8?q?Tim=20D=C3=BCsterhus?= Date: Fri, 1 May 2015 14:19:04 +0200 Subject: [PATCH] Fix selection of parent template group in TemplateGroupAddForm --- .../install/files/lib/acp/form/TemplateGroupAddForm.class.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/wcfsetup/install/files/lib/acp/form/TemplateGroupAddForm.class.php b/wcfsetup/install/files/lib/acp/form/TemplateGroupAddForm.class.php index d316841957..937a9aaaf4 100644 --- a/wcfsetup/install/files/lib/acp/form/TemplateGroupAddForm.class.php +++ b/wcfsetup/install/files/lib/acp/form/TemplateGroupAddForm.class.php @@ -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(); } /** -- 2.20.1