diff options
Diffstat (limited to 'it_text.class')
-rw-r--r-- | it_text.class | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/it_text.class b/it_text.class index d91ed27..07b0e7a 100644 --- a/it_text.class +++ b/it_text.class @@ -243,7 +243,7 @@ static function transmogrify($text, $values = null, $label = null, $allowedfuncs } } else - $value = (list($func, $arg) = it::match('^([\w:]+)\((.*)\)$', $part)) && isset($allowedfuncs[$func]) ? call_user_func($func, $arg) : "{" . $part . "}"; + $value = (list($func, $arg) = it::match('^([\w:]+)\((.*)\)$', $part)) && isset($allowedfuncs[$func]) ? $func($arg) : "{" . $part . "}"; $result .= $GLOBALS['debug_texts'] ? "</span>$value<span style='background:#8F8'>" : $value; } |