Removed '.htac' template list
authorMarcel Werk <burntime@woltlab.com>
Wed, 1 Jun 2016 10:59:18 +0000 (12:59 +0200)
committerMarcel Werk <burntime@woltlab.com>
Wed, 1 Jun 2016 10:59:18 +0000 (12:59 +0200)
wcfsetup/install/files/lib/acp/page/TemplateListPage.class.php

index a5e552dd9040b7bb47063a9a535f8667e8fb3625..91ec16e71454228aef5b36f15cd43100e64641e6 100644 (file)
@@ -100,6 +100,8 @@ class TemplateListPage extends SortablePage {
                
                if ($this->searchTemplateName) $this->objectList->getConditionBuilder()->add('templateName LIKE ?', array('%'.$this->searchTemplateName.'%'));
                if ($this->application) $this->objectList->getConditionBuilder()->add('application = ?', array($this->application));
+               
+               $this->objectList->getConditionBuilder()->add('templateName <> ?', array('.htac'));
        }
        
        /**