From 6790dba9302a92f504db1b638c1540af84877515 Mon Sep 17 00:00:00 2001 From: Seasoft Date: Wed, 3 Aug 2022 19:11:34 +0900 Subject: [PATCH] =?UTF-8?q?SC=5FResponse::reload()=20=E6=97=A2=E5=AD=98?= =?UTF-8?q?=E3=81=AE=E5=95=8F=E3=81=84=E5=90=88=E3=82=8F=E3=81=9B=E6=96=87?= =?UTF-8?q?=E5=AD=97=E5=88=97=E3=81=8C=E4=BA=8C=E9=87=8D=E3=81=A7URL?= =?UTF-8?q?=E3=82=A8=E3=83=B3=E3=82=B3=E3=83=BC=E3=83=89=E3=81=95=E3=82=8C?= =?UTF-8?q?=E3=82=8B=20#574?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- data/class/SC_Response.php | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/data/class/SC_Response.php b/data/class/SC_Response.php index e7ce2b0398..b692fdf0da 100644 --- a/data/class/SC_Response.php +++ b/data/class/SC_Response.php @@ -258,10 +258,9 @@ public static function reload($arrQueryString = array(), $removeQueryString = fa // 現在の URL を取得 $netUrl = new Net_URL($_SERVER['REQUEST_URI']); - if (!$removeQueryString) { - $arrQueryString = array_merge($netUrl->querystring, $arrQueryString); + if ($removeQueryString) { + $netUrl->querystring = array(); } - $netUrl->querystring = array(); SC_Response_Ex::sendRedirect($netUrl->getURL(), $arrQueryString); }