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); }