Fix: missing 'current' linking mode in top-level menu

If there are no children, the LinkingMode was set to 'link' and never
to 'current'
This commit is contained in:
martimiz 2012-11-12 16:19:44 +01:00
parent 67ff61a756
commit 27a4f91d70

View File

@ -546,7 +546,10 @@ class DocumentationViewer extends Controller {
return $children;
}
}
} else {
if ($page->getRelativeLink() == $this->Remaining[$level]) {
$page->LinkingMode = 'current';
}
}
return false;