mirror of
https://github.com/flextype/flextype.git
synced 2025-08-07 21:56:33 +02:00
feat(helpers): update getUriString
helper
This commit is contained in:
@@ -200,7 +200,7 @@ if (! function_exists('getUriString')) {
|
||||
*/
|
||||
function getUriString(): string
|
||||
{
|
||||
return $_SERVER['REQUEST_URI'];
|
||||
return $_SERVER['REQUEST_URI'] ?? '';
|
||||
}
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user