Browse Source

fix var name

main
ghost 9 months ago
parent
commit
d9b2e24a99
  1. 8
      src/server.php

8
src/server.php

@ -384,14 +384,14 @@ $server->setHandler( @@ -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( @@ -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;

Loading…
Cancel
Save