summaryrefslogtreecommitdiff
path: root/it_html.class
diff options
context:
space:
mode:
authorUrban Müller2023-05-24 14:11:14 +0200
committerUrban Müller2023-05-24 14:11:14 +0200
commite817bb49883aec980c0ffe827899365f13b1f786 (patch)
tree70bc3d3d6658392a50877cd849191be502ef34c6 /it_html.class
parenta905a24337ddcb4b3405411354ea274c0342baa4 (diff)
downloaditools-e817bb49883aec980c0ffe827899365f13b1f786.tar.gz
itools-e817bb49883aec980c0ffe827899365f13b1f786.tar.bz2
itools-e817bb49883aec980c0ffe827899365f13b1f786.zip
more functional style
Diffstat (limited to 'it_html.class')
-rw-r--r--it_html.class4
1 files changed, 1 insertions, 3 deletions
diff --git a/it_html.class b/it_html.class
index 7423513..2700e99 100644
--- a/it_html.class
+++ b/it_html.class
@@ -249,9 +249,7 @@ function body($args)
{
if (EDC('what'))
{
- $debugvars = array_merge($GLOBALS['ULTRADEBUGVARS'], array('srclines' => 1, 'texts' => 1));
- ksort($debugvars);
- foreach ($debugvars as $var => $dummy)
+ foreach (it::sort((array)$GLOBALS['ULTRADEBUGVARS'] + ['srclines' => 1, 'texts' => 1], "k") as $var => $dummy)
{
if (EDC($var))
$toggled_host = preg_replace("/(\.|--)$var(-[^.-]+)?/", "", $_SERVER['HTTP_HOST']);