diff options
author | Thomas BrĂ¼derli | 2006-11-09 15:07:27 +0000 |
---|---|---|
committer | Thomas BrĂ¼derli | 2006-11-09 15:07:27 +0000 |
commit | 97171f9a1a0a716903592d6d5232a8e034c03ab0 (patch) | |
tree | 6434b4ad686e96c49147f353acb8dc513cf9708a | |
parent | 9d98a2472eeb713327d510b50dded18e33d423e5 (diff) | |
download | itools-97171f9a1a0a716903592d6d5232a8e034c03ab0.tar.gz itools-97171f9a1a0a716903592d6d5232a8e034c03ab0.tar.bz2 itools-97171f9a1a0a716903592d6d5232a8e034c03ab0.zip |
Prevent errors when instantiating it_html twice
-rw-r--r-- | html.class | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -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(); |