From c9ad03e60993ea3b017a1af6663051cdd51343a5 Mon Sep 17 00:00:00 2001 From: Alexander Ebert Date: Wed, 7 Sep 2016 12:23:34 +0200 Subject: [PATCH] Fixed issue --- wcfsetup/install/files/lib/util/HeaderUtil.class.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/wcfsetup/install/files/lib/util/HeaderUtil.class.php b/wcfsetup/install/files/lib/util/HeaderUtil.class.php index 26741101c4..47ec6c98dd 100644 --- a/wcfsetup/install/files/lib/util/HeaderUtil.class.php +++ b/wcfsetup/install/files/lib/util/HeaderUtil.class.php @@ -106,7 +106,7 @@ final class HeaderUtil { public static function parseOutput($output) { self::$output = $output; - if (RequestHandler::getInstance()->isACPRequest()) { + if (PACKAGE_ID && RequestHandler::getInstance()->isACPRequest()) { // force javascript relocation self::$output = preg_replace('~]*)>~', '