From 9190c57dc631e143b2a86be948f18d46d1c6f642 Mon Sep 17 00:00:00 2001 From: Tim Schumacher Date: Sat, 25 Jan 2014 11:52:28 +0100 Subject: [PATCH] Fix the title for namespaces --- syntax.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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;