Skip to content
Snippets Groups Projects
Commit 82d02682 authored by Jan-Hendrik Willms's avatar Jan-Hendrik Willms Committed by Jan-Hendrik Willms
Browse files

ensure correct return type, fixes #2765

Closes #2765

Merge request studip/studip!1881
parent 9cc6fdc2
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