Skip to content

Commit

Permalink
Use a more reasonable fallback
Browse files Browse the repository at this point in the history
cf. issue #16698.

Signed-off-by: Sven Strickroth <email@cs-ware.de>
  • Loading branch information
csware committed Mar 4, 2021
1 parent 9bd3c17 commit 97ed969
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion libraries/classes/Util.php
Expand Up @@ -1739,7 +1739,7 @@ public static function getScriptNameForOption($target, string $location): string
{
$url = self::getUrlForOption($target, $location);
if ($url === null) {
return '/';
return './';
}

return Url::getFromRoute($url);
Expand Down

0 comments on commit 97ed969

Please sign in to comment.