#15041 - Fix logo link for internal links
As documented here: 761a1f623b
Signed-off-by: William Desportes <williamdes@wdes.fr>
This commit is contained in:
parent
5d40d309cd
commit
9d586fc539
@ -130,7 +130,11 @@ class NavigationHeader
|
||||
PHP_URL_HOST
|
||||
);
|
||||
if (empty($host)) {
|
||||
$logoLink .= Url::getCommon();
|
||||
$hasStartChar = strpos($logoLink, '?');
|
||||
$logoLink .= Url::getCommon(
|
||||
array(),
|
||||
is_bool($hasStartChar) ? '?' : URL::getArgSeparator()
|
||||
);
|
||||
} else {
|
||||
$linkAttriks = 'target="_blank" rel="noopener noreferrer"';
|
||||
}
|
||||
|
||||
Loading…
Reference in New Issue
Block a user