summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--auto_prepend.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/auto_prepend.php b/auto_prepend.php
index 150d61c..65d4901 100644
--- a/auto_prepend.php
+++ b/auto_prepend.php
@@ -155,7 +155,7 @@ function T_exists($label, $language = null)
function U(/* ... */)
{
$args = func_get_args();
- return call_user_func_array(array($GLOBALS['it_html'] ?: 'it_html', 'U'), $args);
+ return call_user_func_array(array(is_object($o = $GLOBALS['it_html']) ? $o : 'it_html', 'U'), $args);
}