summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorThomas BrĂ¼derli2006-11-09 15:07:27 +0000
committerThomas BrĂ¼derli2006-11-09 15:07:27 +0000
commit97171f9a1a0a716903592d6d5232a8e034c03ab0 (patch)
tree6434b4ad686e96c49147f353acb8dc513cf9708a
parent9d98a2472eeb713327d510b50dded18e33d423e5 (diff)
downloaditools-97171f9a1a0a716903592d6d5232a8e034c03ab0.tar.gz
itools-97171f9a1a0a716903592d6d5232a8e034c03ab0.tar.bz2
itools-97171f9a1a0a716903592d6d5232a8e034c03ab0.zip
Prevent errors when instantiating it_html twice
-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();