diff options
-rw-r--r-- | it_html.class | 4 |
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']); |