From 089a6bd0537e650d23feb4ea1017a25ff93c61cf Mon Sep 17 00:00:00 2001 From: Awilum Date: Thu, 14 Apr 2022 12:05:23 +0300 Subject: [PATCH] feat(helpers): update `getUriString` helper --- src/flextype/helpers/urls.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/flextype/helpers/urls.php b/src/flextype/helpers/urls.php index a19bd36e..f741c1a2 100644 --- a/src/flextype/helpers/urls.php +++ b/src/flextype/helpers/urls.php @@ -200,7 +200,7 @@ if (! function_exists('getUriString')) { */ function getUriString(): string { - return $_SERVER['REQUEST_URI']; + return $_SERVER['REQUEST_URI'] ?? ''; } }