Fix: static modifier doesn't insert as is

This commit is contained in:
bzick 2013-07-04 10:37:14 +04:00
parent 9600fc78d7
commit eea3391c7d

View File

@ -901,7 +901,7 @@ class Template extends Render {
} }
if(is_string($mods)) { // dynamic modifier if(!is_string($mods)) { // dynamic modifier
$mods = 'call_user_func($tpl->getStorage()->getModifier("'.$modifier_name.'"), '; $mods = 'call_user_func($tpl->getStorage()->getModifier("'.$modifier_name.'"), ';
} else { } else {
$mods .= "("; $mods .= "(";