Skip to content
Snippets Groups Projects
Commit 7f39a31a authored by Jan-Hendrik Willms's avatar Jan-Hendrik Willms Committed by Elmar Ludwig
Browse files

ensure correct return type, fixes #2765

Closes #2765

Merge request studip/studip!1881
parent 4ee2b8de
No related branches found
No related tags found
No related merge requests found
...@@ -170,7 +170,7 @@ class Request implements ArrayAccess, IteratorAggregate ...@@ -170,7 +170,7 @@ class Request implements ArrayAccess, IteratorAggregate
'', '',
urldecode(self::path()) urldecode(self::path())
); );
return parse_url($path_info, PHP_URL_PATH); return parse_url($path_info, PHP_URL_PATH) ?? '';
} }
/** /**
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment