diff options
author | Christian Schneider | 2021-01-13 16:21:03 +0100 |
---|---|---|
committer | Christian Schneider | 2021-01-13 16:21:03 +0100 |
commit | 4f7f5e4b1fd1077ad134860b32203810ef24c0ce (patch) | |
tree | ad1f7ce97388ff1ac4b11e47960ddebe2ae1fa0f /it_html.class | |
parent | b1548c21528cc8158f09a3acaf6fb8ef51ae7e5f (diff) | |
download | itools-4f7f5e4b1fd1077ad134860b32203810ef24c0ce.tar.gz itools-4f7f5e4b1fd1077ad134860b32203810ef24c0ce.tar.bz2 itools-4f7f5e4b1fd1077ad134860b32203810ef24c0ce.zip |
Unified join to always use implode
Diffstat (limited to 'it_html.class')
-rw-r--r-- | it_html.class | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/it_html.class b/it_html.class index b27c696..da8f576 100644 --- a/it_html.class +++ b/it_html.class @@ -132,7 +132,7 @@ function __construct($p = array()) $code[$func] = "function $func() { \$args = func_get_args(); return call_user_func_array(array(&\$GLOBALS['{$this->p['name']}'], '$func'), \$args); }"; } - eval(join('', (array)$code)); + eval(implode('', (array)$code)); } @@ -255,7 +255,7 @@ function body($args) $toggled_host = preg_replace("/\.([^.]*)\.([^.]*)\.([^.]*)$/", ".$var.\$1.\$2.\$3", $_SERVER['HTTP_HOST']); $debug_links[] = a(array('href' => U('http://' . $toggled_host . $_SERVER['REQUEST_URI']), 'style' => 'font-weight:' . (EDC($var) ? 'bold' : 'normal') . ';'), $var); } - $args[] = div(array('style' => 'position:fixed; bottom:0; z-index:9999; font-family:monospace'), "Debugvars: " . join(" ", $debug_links)); + $args[] = div(array('style' => 'position:fixed; bottom:0; z-index:9999; font-family:monospace'), "Debugvars: " . implode(" ", $debug_links)); } return $this->head() . $this->_tag('body', $args); |