From a74bc7e0d92b523ca788766097919582b18782a4 Mon Sep 17 00:00:00 2001 From: Serios Date: Mon, 1 Feb 2016 23:13:45 +0200 Subject: [PATCH] Proper parsing of BOOK SC in List Chapters Book shortcodes doesn't get parsed in template-start and template-end portion of List Chapters template, which seems unreasonable. --- page.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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