Fix StyleAddForm
authorTim Düsterhus <duesterhus@woltlab.com>
Tue, 31 May 2016 22:27:00 +0000 (00:27 +0200)
committerTim Düsterhus <duesterhus@woltlab.com>
Tue, 31 May 2016 22:27:00 +0000 (00:27 +0200)
wcfsetup/install/files/lib/acp/form/StyleAddForm.class.php

index 1df63dc6b1d328c48f9af76ed5d13c0408737084..d6a1c9972dfda41f870f35fcc202e95f9700d685 100644 (file)
@@ -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();