diff options
-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]; |