From: Tim Düsterhus Date: Tue, 31 May 2016 22:27:00 +0000 (+0200) Subject: Fix StyleAddForm X-Git-Tag: 3.0.0_Beta_1~1553 X-Git-Url: https://git.stricted.de/?a=commitdiff_plain;h=3c33452fc3ac66347fd2a8aab40bcea597834de9;p=GitHub%2FWoltLab%2FWCF.git Fix StyleAddForm --- diff --git a/wcfsetup/install/files/lib/acp/form/StyleAddForm.class.php b/wcfsetup/install/files/lib/acp/form/StyleAddForm.class.php index 1df63dc6b1..d6a1c9972d 100644 --- a/wcfsetup/install/files/lib/acp/form/StyleAddForm.class.php +++ b/wcfsetup/install/files/lib/acp/form/StyleAddForm.class.php @@ -189,7 +189,7 @@ class StyleAddForm extends AbstractForm { $templateGroupList = new TemplateGroupList(); $templateGroupList->sqlOrderBy = "templateGroupName"; - $templateGroupList->getConditionBuilder()->add('templateGroupPath <> ?', ['_wcf_email/']); + $templateGroupList->getConditionBuilder()->add('templateGroupFolderName <> ?', ['_wcf_email/']); $templateGroupList->readObjects(); $this->availableTemplateGroups = $templateGroupList->getObjects();