Skip to content

Commit 275999f

Browse files
committed
Bug fixed in "setUrlParams" method
1 parent c3723fd commit 275999f

File tree

2 files changed

+4
-2
lines changed

2 files changed

+4
-2
lines changed

CHANGELOG.md

+4
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,9 @@
11
# CHANGELOG
22

3+
## 1.2.1 - 2018-04-17
4+
5+
* Bug fixed in `setUrlParams` method.
6+
37
## 1.2.0 - 2018-02-22
48

59
* Bugs fixed in `getBaseUrl` and `setUrlParams` method.

src/Url.php

-2
Original file line numberDiff line numberDiff line change
@@ -150,8 +150,6 @@ public static function setUrlParams($url = false)
150150
$query = isset($parts['query']) ? $parts['query'] : '';
151151

152152
parse_str($query, $query);
153-
154-
$url = str_replace($query, '', $url);
155153
}
156154

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

0 commit comments

Comments
 (0)