summaryrefslogtreecommitdiff
path: root/it_text.class
diff options
context:
space:
mode:
authorChristian Schneider2021-02-03 12:00:51 +0100
committerChristian Schneider2021-02-03 12:00:51 +0100
commit1b94225ce6d8420718e21d0834211a5a1224c5e8 (patch)
tree8961c9b72f61a27a52a7d1ad0fe7be348a2ddeeb /it_text.class
parent21ccdefc4aea4c2439f7d41ece7d8216d8ba8b40 (diff)
downloaditools-1b94225ce6d8420718e21d0834211a5a1224c5e8.tar.gz
itools-1b94225ce6d8420718e21d0834211a5a1224c5e8.tar.bz2
itools-1b94225ce6d8420718e21d0834211a5a1224c5e8.zip
Code cleanup: Replace call_user_func* with normal function call equivalent
Diffstat (limited to 'it_text.class')
-rw-r--r--it_text.class2
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;
}