1
0
mirror of https://github.com/e107inc/e107.git synced 2025-01-29 10:38:08 +01:00

Merge pull request #4422 from Jimmi08/patch-22

Issue #4402 fix wrong template key,
This commit is contained in:
Cameron 2021-02-25 15:44:24 -08:00 committed by GitHub
commit 98d56e8bd9
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -348,7 +348,7 @@ class page_shortcodes extends e_shortcode
$text .= $tp->parseTemplate($template['item'],true,$sc);
}
$end = $tp->parseTemplate($template['start'],true,$sc);
$end = $tp->parseTemplate($template['end'],true,$sc);
$end .= "<!-- sc_book_chapters end template: ". $tmplKey." -->";
if(!empty($text))