From 0082dcf4213fd95ea7237b20416a717873e47c8b Mon Sep 17 00:00:00 2001 From: Marcel Werk Date: Tue, 26 Apr 2016 13:44:49 +0200 Subject: [PATCH] Fixed acp template listener --- .../files/lib/system/template/ACPTemplateEngine.class.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/wcfsetup/install/files/lib/system/template/ACPTemplateEngine.class.php b/wcfsetup/install/files/lib/system/template/ACPTemplateEngine.class.php index b6da6b7027..f90eaae7d9 100644 --- a/wcfsetup/install/files/lib/system/template/ACPTemplateEngine.class.php +++ b/wcfsetup/install/files/lib/system/template/ACPTemplateEngine.class.php @@ -67,8 +67,8 @@ class ACPTemplateEngine extends TemplateEngine { * @see \wcf\system\template\TemplateEngine::getTemplateListenerCode() */ public function getTemplateListenerCode($templateName, $eventName) { - // skip template listeners within WCF ACP - if (defined('PACKAGE_ID') && PACKAGE_ID == 1) { + // skip template listeners within WCFSetup + if (!PACKAGE_ID) { return ''; } -- 2.20.1