diff --git a/src/Url/UrlUtil.php b/src/Url/UrlUtil.php index b83fdae3..ba78ea00 100644 --- a/src/Url/UrlUtil.php +++ b/src/Url/UrlUtil.php @@ -92,7 +92,7 @@ public function removeQueryString(array $params, $url = null) return $strUrl; } - $explodedUrl = explode('?', $url, 2); + $explodedUrl = explode('?', $strUrl, 2); if (2 === count($explodedUrl)) { list($script, $queryString) = $explodedUrl;