summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--html.class2
1 files changed, 1 insertions, 1 deletions
diff --git a/html.class b/html.class
index a437d54..f23274b 100644
--- a/html.class
+++ b/html.class
@@ -69,7 +69,7 @@ function it_html($config = array())
foreach($funcs as $func)
{
# Do not globalise 'private' functions starting in '_' or for our constructor
- if (preg_match('/^_/', $func) || is_a($this, $func) || empty($func))
+ if (preg_match('/^_/', $func) || is_a($this, $func) || empty($func) || function_exists($func))
continue;
$funcargs = array();