mirror of
https://github.com/e107inc/e107.git
synced 2025-08-12 01:25:01 +02:00
Correction of shortcode global issue. As per e107 v1.x - shortcodes should only ever be registered globally using e_shortcode.php or xxx.sc files.
This commit is contained in:
@@ -468,7 +468,7 @@ class poll
|
||||
|
||||
// $OPTION = $tp->parseTemplate("{ANSWER}",true);
|
||||
|
||||
$text .= $tp->parseTemplate($template, true);
|
||||
$text .= $tp->parseTemplate($template, true, $sc);
|
||||
|
||||
$count ++;
|
||||
$sc->answerCount++;
|
||||
|
Reference in New Issue
Block a user