diff options
author | Urban Müller | 2014-04-10 11:50:47 +0200 |
---|---|---|
committer | Urban Müller | 2014-04-10 11:50:47 +0200 |
commit | 5036fed906804209346fdf11f682a43d715e6cea (patch) | |
tree | ca79ceefa6a85567e77c9c37eb37dde4531bf480 /auto_prepend.php | |
parent | 6f1bc7398ff868a6e7e55716e9b32eaf496f2559 (diff) | |
download | itools-5036fed906804209346fdf11f682a43d715e6cea.tar.gz itools-5036fed906804209346fdf11f682a43d715e6cea.tar.bz2 itools-5036fed906804209346fdf11f682a43d715e6cea.zip |
only use global object if it is a it_html
Diffstat (limited to 'auto_prepend.php')
-rw-r--r-- | auto_prepend.php | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/auto_prepend.php b/auto_prepend.php index 65d4901..bb23309 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(is_object($o = $GLOBALS['it_html']) ? $o : 'it_html', 'U'), $args); + return call_user_func_array(array(is_a($o = $GLOBALS['it_html'], 'it_html') ? $o : 'it_html', 'U'), $args); } |