From: Michael M Slusarz Date: Wed, 14 Jul 2010 05:12:04 +0000 (-0600) Subject: Fix changed location X-Git-Url: https://git.internetallee.de/?a=commitdiff_plain;h=7c6fee520ba0dc9d13a01b906349afd8b850e4e7;p=horde.git Fix changed location --- 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); } }