Skip to content

Commit

Permalink
updated to only check not null
Browse files Browse the repository at this point in the history
  • Loading branch information
samsonasik committed Oct 16, 2023
1 parent 8f015f8 commit 9cb0fba
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion system/HTTP/URI.php
Original file line number Diff line number Diff line change
Expand Up @@ -181,7 +181,7 @@ public static function createURIString(
$uri .= '?' . $query;
}

if ($fragment !== null && $fragment !== '') {
if ($fragment !== null) {
$uri .= '#' . $fragment;
}

Expand Down

0 comments on commit 9cb0fba

Please sign in to comment.