From: Michael M Slusarz Date: Thu, 9 Jul 2009 16:41:48 +0000 (-0600) Subject: Missed a global $nls conversion. X-Git-Url: https://git.internetallee.de/?a=commitdiff_plain;h=7501fdbcb201f892090b71014c5484cb48feb32c;p=horde.git Missed a global $nls conversion. --- diff --git a/imp/lib/Imple/SpellChecker.php b/imp/lib/Imple/SpellChecker.php index ba05a51d7..61cf34bba 100644 --- a/imp/lib/Imple/SpellChecker.php +++ b/imp/lib/Imple/SpellChecker.php @@ -40,8 +40,8 @@ class IMP_Imple_SpellChecker extends IMP_Imple } if (empty($params['locales'])) { $params['locales'] = array(); - foreach (array_keys($GLOBALS['nls']['spelling']) as $lcode) { - $params['locales'][$lcode] = $GLOBALS['nls']['languages'][$lcode]; + foreach (array_keys(Horde_Nls::$config['spelling']) as $lcode) { + $params['locales'][$lcode] = Horde_Nls::$config['languages'][$lcode]; } } asort($params['locales'], SORT_LOCALE_STRING);