Skip to content

Commit

Permalink
Bug fixed in "setUrlParams" method
Browse files Browse the repository at this point in the history
  • Loading branch information
josantonius committed Apr 17, 2018
1 parent c3723fd commit 275999f
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 2 deletions.
4 changes: 4 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,9 @@
# CHANGELOG

## 1.2.1 - 2018-04-17

* Bug fixed in `setUrlParams` method.

## 1.2.0 - 2018-02-22

* Bugs fixed in `getBaseUrl` and `setUrlParams` method.
Expand Down
2 changes: 0 additions & 2 deletions src/Url.php
Original file line number Diff line number Diff line change
Expand Up @@ -150,8 +150,6 @@ public static function setUrlParams($url = false)
$query = isset($parts['query']) ? $parts['query'] : '';

parse_str($query, $query);

$url = str_replace($query, '', $url);
}

foreach (isset($query) ? $query : [] as $key => $value) {
Expand Down

0 comments on commit 275999f

Please sign in to comment.