summaryrefslogtreecommitdiff
path: root/program/include/main.inc
diff options
context:
space:
mode:
authorthomascube <thomas@roundcube.net>2008-09-05 07:27:23 +0000
committerthomascube <thomas@roundcube.net>2008-09-05 07:27:23 +0000
commitc8a21d646ca96aaf00867b90b582a6572c591ee2 (patch)
tree5a160d0643389e96458784017ba78d7c56410d00 /program/include/main.inc
parent5ec762a0850af60f8edd3d90abbf4aa9e4ae4d8c (diff)
Killed one more global var + log logins to a separate file (not console)
Diffstat (limited to 'program/include/main.inc')
-rw-r--r--program/include/main.inc2
1 files changed, 1 insertions, 1 deletions
diff --git a/program/include/main.inc b/program/include/main.inc
index 3fad9cbfb..a6ad93d2b 100644
--- a/program/include/main.inc
+++ b/program/include/main.inc
@@ -317,7 +317,7 @@ function rep_specialchars_output($str, $enctype='', $mode='', $newlines=TRUE)
$is_iso_8859_1 = true;
}
if (!$enctype)
- $enctype = $GLOBALS['OUTPUT_TYPE'];
+ $enctype = $OUTPUT->type;
// encode for plaintext
if ($enctype=='text')