From d9b2e24a9947920e50c373682ae34662489f3bde Mon Sep 17 00:00:00 2001 From: ghost Date: Mon, 4 Mar 2024 12:36:54 +0200 Subject: [PATCH] fix var name --- src/server.php | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/src/server.php b/src/server.php index c397e8e..035967f 100644 --- a/src/server.php +++ b/src/server.php @@ -384,14 +384,14 @@ $server->setHandler( if ($sections = $helper->getChildrenSectionLinksByUri($uri)) { // Append header - $lines[] = null; + $menu[] = null; $menu[] = sprintf( '### %s', $config->string->sections ); // Append sections - $lines[] = null; + $menu[] = null; foreach ($sections as $section) { $menu[] = $section; @@ -402,14 +402,14 @@ $server->setHandler( if ($pages = $helper->getChildrenPageLinksByUri($uri)) { // Append header - $lines[] = null; + $menu[] = null; $menu[] = sprintf( '### %s', $config->string->pages ); // Append pages - $lines[] = null; + $menu[] = null; foreach ($pages as $page) { $menu[] = $page;