Skip to content

Commit 8f015f8

Browse files
committed
updated to only check not null
1 parent 534d917 commit 8f015f8

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

system/HTTP/URI.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -177,7 +177,7 @@ public static function createURIString(
177177
: ltrim($path, '/');
178178
}
179179

180-
if ($query !== null && $query !== '') {
180+
if ($query !== null) {
181181
$uri .= '?' . $query;
182182
}
183183

0 commit comments

Comments
 (0)