mirror of
https://github.com/sbrl/Pepperminty-Wiki.git
synced 2024-11-26 05:32:59 +00:00
Merge branch 'sidebar-repeat-fix' of https://github.com/ikisler/Pepperminty-Wiki into sidebar-repeat-fix
This commit is contained in:
commit
dfacc3d897
1 changed files with 1 additions and 1 deletions
|
@ -102,7 +102,7 @@ function render_sidebar($pageindex, $root_pagename = "")
|
||||||
continue;
|
continue;
|
||||||
|
|
||||||
// If the page already appears on the sidebar, skip it
|
// If the page already appears on the sidebar, skip it
|
||||||
if(preg_match("/>$pagename<\a>/m",$result)===1)
|
if(preg_match("/>$pagename<\a>/m", $result) === 1)
|
||||||
continue;
|
continue;
|
||||||
|
|
||||||
// If the part of the current pagename that comes after the root
|
// If the part of the current pagename that comes after the root
|
||||||
|
|
Loading…
Reference in a new issue