diff options
author | Urban Müller | 2007-01-02 19:10:50 +0000 |
---|---|---|
committer | Urban Müller | 2007-01-02 19:10:50 +0000 |
commit | ef4267241d9ef3b397d9251a4f023a5d762f5571 (patch) | |
tree | e93843b52b351a93123b079bc342e906500780d1 /html.class | |
parent | 43847664f37639a4bbf70202e02e569087c4c0dc (diff) | |
download | itools-ef4267241d9ef3b397d9251a4f023a5d762f5571.tar.gz itools-ef4267241d9ef3b397d9251a4f023a5d762f5571.tar.bz2 itools-ef4267241d9ef3b397d9251a4f023a5d762f5571.zip |
handle nothing to do case, faster debug param check
Diffstat (limited to 'html.class')
-rw-r--r-- | html.class | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -83,7 +83,7 @@ function it_html($config = array()) foreach (explode(",", $this->_staticallycallable) as $func) $code[$func] = "function $func() { \$args = func_get_args(); return call_user_func_array(array(&\$GLOBALS['$this->_name'], '$func'), \$args); }"; - eval(join("", $code)); + eval(join("", (array)$code)); # Since name is given as param, it is our duty to store it, not our caller's. $GLOBALS[$this->_name] =& $this; @@ -156,7 +156,7 @@ function _tag($name, $args) else $result .= " />$newline"; - if (EDC('srclines')) + if ($GLOBALS['debug_srclines']) { $trace = debug_backtrace(); $trace = $trace[2]; |