diff --git a/syntax.php b/syntax.php index ba4b703..10ec971 100644 --- a/syntax.php +++ b/syntax.php @@ -134,7 +134,7 @@ class syntax_plugin_navigation extends DokuWiki_Syntax_Plugin if ($start = $node->hasChild('start')) { $access = auth_quickaclcheck($start->getFullID()); if ($access > 0) { - $title = '' . (strlen($node->getMetaData('title')) > 0 ? $node->getMetaData('title') : $node->getName()) . ''; + $title = '' . (strlen($start->getMetaData('title')) > 0 ? $start->getMetaData('title') : $start->getName()) . ''; } } $output .= '
  • ' . $title . '
  • ' . PHP_EOL;