mirror of
https://github.com/fenom-template/fenom.git
synced 2023-08-10 21:13:07 +03:00
Fix: static modifier doesn't insert as is
This commit is contained in:
parent
9600fc78d7
commit
eea3391c7d
@ -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.'"), ';
|
||||
} else {
|
||||
$mods .= "(";
|
||||
|
Loading…
Reference in New Issue
Block a user