From: Michael M Slusarz Date: Sun, 4 Jan 2009 07:42:32 +0000 (-0700) Subject: Fix variable scope. X-Git-Url: https://git.internetallee.de/?a=commitdiff_plain;h=ef73bf0cce092573ccd81af38376d0edd8acdff0;p=horde.git Fix variable scope. --- diff --git a/imp/lib/base.php b/imp/lib/base.php index e05888863..63431753b 100644 --- a/imp/lib/base.php +++ b/imp/lib/base.php @@ -161,7 +161,7 @@ if ($authentication !== 'none') { } // Set default message character set, if necessary - if ($def_charset = $prefs->getValue('default_msg_charset')) { + if ($def_charset = $GLOBALS['prefs']->getValue('default_msg_charset')) { Horde_Mime_Part::$defaultCharset = $def_charset; Horde_Mime_Headers::$defaultCharset = $def_charset; }