From 49cced4297b07f93ec4f032833dbd751503bebf1 Mon Sep 17 00:00:00 2001 From: Alexander Ebert Date: Fri, 26 Oct 2012 15:47:03 +0200 Subject: [PATCH] Fixed HeaderUtil::redirect() usage --- .../install/files/lib/acp/form/MasterPasswordForm.class.php | 2 +- wcfsetup/install/files/lib/acp/page/PackageListPage.class.php | 2 +- wcfsetup/install/files/lib/system/WCFACP.class.php | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/wcfsetup/install/files/lib/acp/form/MasterPasswordForm.class.php b/wcfsetup/install/files/lib/acp/form/MasterPasswordForm.class.php index 066f0649af..2166ff036d 100755 --- a/wcfsetup/install/files/lib/acp/form/MasterPasswordForm.class.php +++ b/wcfsetup/install/files/lib/acp/form/MasterPasswordForm.class.php @@ -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; } diff --git a/wcfsetup/install/files/lib/acp/page/PackageListPage.class.php b/wcfsetup/install/files/lib/acp/page/PackageListPage.class.php index 936c13dba4..3c0ec75088 100755 --- a/wcfsetup/install/files/lib/acp/page/PackageListPage.class.php +++ b/wcfsetup/install/files/lib/acp/page/PackageListPage.class.php @@ -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; } diff --git a/wcfsetup/install/files/lib/system/WCFACP.class.php b/wcfsetup/install/files/lib/system/WCFACP.class.php index d2f177b3dc..6b821c8916 100644 --- a/wcfsetup/install/files/lib/system/WCFACP.class.php +++ b/wcfsetup/install/files/lib/system/WCFACP.class.php @@ -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 { -- 2.20.1