diff --git a/system/HTTP/URI.php b/system/HTTP/URI.php index 196d4f4ab121..102808debbfd 100644 --- a/system/HTTP/URI.php +++ b/system/HTTP/URI.php @@ -181,7 +181,7 @@ public static function createURIString( $uri .= '?' . $query; } - if ($fragment !== null && $fragment !== '') { + if ($fragment !== null) { $uri .= '#' . $fragment; }