diff --git a/page.php b/page.php index e9b91a9f2..4836041fe 100644 --- a/page.php +++ b/page.php @@ -342,7 +342,7 @@ class pageClass if($sql->select("page_chapters", "*", "chapter_parent = ".intval($book)." AND chapter_visibility IN (".USERCLASS_LIST.") ORDER BY chapter_order ASC ")) { - $text .= $template['start']; + $text .= $tp->simpleParse($template['start'],$bvar); while($row = $sql->fetch()) { @@ -371,7 +371,7 @@ class pageClass } - $text .= $template['end']; + $text .= $tp->simpleParse($template['end'], $bvar); } else