From 7501fdbcb201f892090b71014c5484cb48feb32c Mon Sep 17 00:00:00 2001 From: Michael M Slusarz Date: Thu, 9 Jul 2009 10:41:48 -0600 Subject: [PATCH] Missed a global $nls conversion. --- imp/lib/Imple/SpellChecker.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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); -- 2.11.0