Fixed HeaderUtil::redirect() usage
authorAlexander Ebert <ebert@woltlab.com>
Fri, 26 Oct 2012 13:47:03 +0000 (15:47 +0200)
committerAlexander Ebert <ebert@woltlab.com>
Fri, 26 Oct 2012 13:47:03 +0000 (15:47 +0200)
wcfsetup/install/files/lib/acp/form/MasterPasswordForm.class.php
wcfsetup/install/files/lib/acp/page/PackageListPage.class.php
wcfsetup/install/files/lib/system/WCFACP.class.php

index 066f0649af9bf199a0731890469fc4959c43faa8..2166ff036d9a22a4f2537eb5dc777c1e9c931488 100755 (executable)
@@ -81,7 +81,7 @@ class MasterPasswordForm extends ACPForm {
                if (empty($this->url)) {
                        $this->url = LinkHandler::getInstance()->getLink('Index');
                }
-               HeaderUtil::redirect($this->url, false);
+               HeaderUtil::redirect($this->url);
                exit;
        }
        
index 936c13dba42497e9554e0565fb030a15c0fc9da8..3c0ec75088cb5362aa4427520908d58ef6876413 100755 (executable)
@@ -84,7 +84,7 @@ class PackageListPage extends AbstractPage {
                        $host = RouteHandler::getHost();
                        $path = RouteHandler::getPath();
                        
-                       HeaderUtil::redirect($host . $path . 'index.php/PackageListDetailed/' . SID_ARG_1ST, false);
+                       HeaderUtil::redirect($host . $path . 'index.php/PackageListDetailed/' . SID_ARG_1ST);
                        exit;
                }
                
index d2f177b3dc96630ff29fb1776fbcbea8635af152..6b821c89166f0599c4da5199471e0283ee5a43dc 100644 (file)
@@ -65,7 +65,7 @@ class WCFACP extends WCF {
                                $application = ApplicationHandler::getInstance()->getActiveApplication();
                                $path = $application->getPageURL() . 'acp/index.php/Login/' . SID_ARG_1ST;
                                
-                               util\HeaderUtil::redirect($path, false);
+                               util\HeaderUtil::redirect($path);
                                exit;
                        }
                        else {