projects
/
horde.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
2434a52
)
Missed a global $nls conversion.
author
Michael M Slusarz
<slusarz@curecanti.org>
Thu, 9 Jul 2009 16:41:48 +0000
(10:41 -0600)
committer
Michael M Slusarz
<slusarz@curecanti.org>
Thu, 9 Jul 2009 16:41:48 +0000
(10:41 -0600)
imp/lib/Imple/SpellChecker.php
patch
|
blob
|
history
diff --git
a/imp/lib/Imple/SpellChecker.php
b/imp/lib/Imple/SpellChecker.php
index
ba05a51
..
61cf34b
100644
(file)
--- 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);