Fixing redirect to login in ACP
authorTim Düsterhus <timwolla@arcor.de>
Sun, 26 Feb 2012 13:57:44 +0000 (14:57 +0100)
committerTim Düsterhus <timwolla@arcor.de>
Sun, 26 Feb 2012 13:57:44 +0000 (14:57 +0100)
wcfsetup/install/files/lib/system/WCFACP.class.php

index 5642884b91b5135f379370fdb417e096893b4be6..9e9095e13b025b2139c80a8c34900ccd36295b32 100644 (file)
@@ -56,7 +56,7 @@ class WCFACP extends WCF {
                $pathInfo = (isset($_SERVER['PATH_INFO'])) ? $_SERVER['PATH_INFO'] : '';
                if (empty($pathInfo) || !preg_match('~^/(ACPCaptcha|Login)/~', $pathInfo)) {
                        if (WCF::getUser()->userID == 0) {
-                               util\HeaderUtil::redirect('index.php/Login/'.SID_ARG_1ST);
+                               util\HeaderUtil::redirect('index.php/Login/'.SID_ARG_1ST, false);
                                exit;
                        }
                        else {