mirror of
https://github.com/YGGverse/bdoku.git
synced 2025-02-03 18:46:26 +00:00
fix var name
This commit is contained in:
parent
c6b174c696
commit
d9b2e24a99
@ -384,14 +384,14 @@ $server->setHandler(
|
|||||||
if ($sections = $helper->getChildrenSectionLinksByUri($uri))
|
if ($sections = $helper->getChildrenSectionLinksByUri($uri))
|
||||||
{
|
{
|
||||||
// Append header
|
// Append header
|
||||||
$lines[] = null;
|
$menu[] = null;
|
||||||
$menu[] = sprintf(
|
$menu[] = sprintf(
|
||||||
'### %s',
|
'### %s',
|
||||||
$config->string->sections
|
$config->string->sections
|
||||||
);
|
);
|
||||||
|
|
||||||
// Append sections
|
// Append sections
|
||||||
$lines[] = null;
|
$menu[] = null;
|
||||||
foreach ($sections as $section)
|
foreach ($sections as $section)
|
||||||
{
|
{
|
||||||
$menu[] = $section;
|
$menu[] = $section;
|
||||||
@ -402,14 +402,14 @@ $server->setHandler(
|
|||||||
if ($pages = $helper->getChildrenPageLinksByUri($uri))
|
if ($pages = $helper->getChildrenPageLinksByUri($uri))
|
||||||
{
|
{
|
||||||
// Append header
|
// Append header
|
||||||
$lines[] = null;
|
$menu[] = null;
|
||||||
$menu[] = sprintf(
|
$menu[] = sprintf(
|
||||||
'### %s',
|
'### %s',
|
||||||
$config->string->pages
|
$config->string->pages
|
||||||
);
|
);
|
||||||
|
|
||||||
// Append pages
|
// Append pages
|
||||||
$lines[] = null;
|
$menu[] = null;
|
||||||
foreach ($pages as $page)
|
foreach ($pages as $page)
|
||||||
{
|
{
|
||||||
$menu[] = $page;
|
$menu[] = $page;
|
||||||
|
Loading…
x
Reference in New Issue
Block a user