summaryrefslogtreecommitdiff
path: root/html.class
diff options
context:
space:
mode:
Diffstat (limited to 'html.class')
-rw-r--r--html.class4
1 files changed, 2 insertions, 2 deletions
diff --git a/html.class b/html.class
index e9f3e9d..9109efd 100644
--- a/html.class
+++ b/html.class
@@ -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];