1
0
mirror of https://github.com/e107inc/e107.git synced 2025-08-06 14:46:56 +02:00

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.
This commit is contained in:
Serios
2016-02-01 23:13:45 +02:00
parent ee32537db4
commit a74bc7e0d9

View File

@@ -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