Merge f7fee2be1b
into a8e68eaac8
This commit is contained in:
commit
b7aae1b73b
1 changed files with 2 additions and 1 deletions
|
@ -80,8 +80,9 @@ class Pico
|
|||
$prev_page = array();
|
||||
$current_page = array();
|
||||
$next_page = array();
|
||||
$checkurl = $settings['base_url'] . "/" . $url;
|
||||
while ($current_page = current($pages)) {
|
||||
if ((isset($meta['title'])) && ($meta['title'] == $current_page['title'])) {
|
||||
if ($current_page['url'] == $checkurl || $current_page['url'] == $checkurl . "/" ) {
|
||||
break;
|
||||
}
|
||||
next($pages);
|
||||
|
|
Loading…
Add table
Reference in a new issue