Skip to content

Commit

Permalink
fixed Url::removeQueryString
Browse files Browse the repository at this point in the history
  • Loading branch information
Martin Kunitzsch committed Feb 14, 2018
1 parent 2cc28ab commit c6ce9d3
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/Url/UrlUtil.php
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand Down

0 comments on commit c6ce9d3

Please sign in to comment.