Fix #16698 - Wrong Absolute Links In Navigation ("/" instead of "./")

Fixes: #16698

Signed-off-by: Sven Strickroth <email@cs-ware.de>
This commit is contained in:
Sven Strickroth 2021-03-05 14:32:33 +01:00 committed by William Desportes
parent 0754a34411
commit 965c124d96
No known key found for this signature in database
GPG Key ID: 90A0EF1B8251A889

View File

@ -1742,7 +1742,7 @@ class Util
{
$url = self::getUrlForOption($target, $location);
if ($url === null) {
return '/';
return './';
}
return Url::getFromRoute($url);