From 92bca149e0d03a2b7266d4e4d9fecc257aaf8a1b Mon Sep 17 00:00:00 2001 From: =?utf8?q?Tim=20D=C3=BCsterhus?= Date: Sat, 24 May 2014 00:27:22 +0200 Subject: [PATCH] Use indented select list in TemplateGroupAddForm --- wcfsetup/install/files/acp/templates/templateGroupAdd.tpl | 6 ++---- .../files/lib/acp/form/TemplateGroupAddForm.class.php | 6 ++---- 2 files changed, 4 insertions(+), 8 deletions(-) diff --git a/wcfsetup/install/files/acp/templates/templateGroupAdd.tpl b/wcfsetup/install/files/acp/templates/templateGroupAdd.tpl index 657e3e0712..10842d5894 100644 --- a/wcfsetup/install/files/acp/templates/templateGroupAdd.tpl +++ b/wcfsetup/install/files/acp/templates/templateGroupAdd.tpl @@ -30,10 +30,8 @@
diff --git a/wcfsetup/install/files/lib/acp/form/TemplateGroupAddForm.class.php b/wcfsetup/install/files/lib/acp/form/TemplateGroupAddForm.class.php index 05785b5030..b9b0fe1e96 100644 --- a/wcfsetup/install/files/lib/acp/form/TemplateGroupAddForm.class.php +++ b/wcfsetup/install/files/lib/acp/form/TemplateGroupAddForm.class.php @@ -1,5 +1,6 @@ sqlOrderBy = "templateGroupName"; - $templateGroupList->readObjects(); - $this->availableTemplateGroups = $templateGroupList->getObjects(); + $this->availableTemplateGroups = TemplateGroup::getSelectList(array(), 1); } /** -- 2.20.1