fix hierarchical breadcrumbs #3114

This commit is contained in:
Andreas Gohr 2020-06-02 11:14:18 +02:00
parent 6dc405e1a9
commit c077d4dc94
1 changed files with 2 additions and 2 deletions

View File

@ -213,9 +213,9 @@ function noNSorNS($id) {
global $conf;
$p = noNS($id);
if ($p === $conf['start'] || $p === false) {
if ($p === $conf['start'] || $p === false || $p === '') {
$p = curNS($id);
if ($p === false) {
if ($p === false || $p === '') {
return $conf['start'];
}
}