From 7c6fee520ba0dc9d13a01b906349afd8b850e4e7 Mon Sep 17 00:00:00 2001 From: Michael M Slusarz Date: Tue, 13 Jul 2010 23:12:04 -0600 Subject: [PATCH] Fix changed location --- framework/Ajax/lib/Horde/Ajax/Imple/SpellChecker.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/framework/Ajax/lib/Horde/Ajax/Imple/SpellChecker.php b/framework/Ajax/lib/Horde/Ajax/Imple/SpellChecker.php index c91ef53c8..860d912dc 100644 --- a/framework/Ajax/lib/Horde/Ajax/Imple/SpellChecker.php +++ b/framework/Ajax/lib/Horde/Ajax/Imple/SpellChecker.php @@ -39,12 +39,12 @@ class Horde_Ajax_Imple_SpellChecker extends Horde_Ajax_Imple_Base } if (empty($params['locales'])) { - $key_list = array_keys(Horde_Nls::$config['spelling']); + $key_list = array_keys($GLOBALS['registry']->nlsconfig['spelling']); asort($key_list, SORT_LOCALE_STRING); $params['locales'] = array(); foreach ($key_list as $lcode) { - $params['locales'][] = array('l' => Horde_Nls::$config['languages'][$lcode], 'v' => $lcode); + $params['locales'][] = array('l' => $GLOBALS['registry']->nlsconfig['languages'][$lcode], 'v' => $lcode); } } -- 2.11.0