[dev] Nlsconfig.php (Git)
Hiromi Kimura
hiromi at tac.tsukuba.ac.jp
Mon Feb 14 05:52:02 UTC 2011
Hello,
There are some typos in framework/Core/lib/Horde/Nlsconfig.php.
--- Nlsconfig.php.orig 2011-02-09 09:34:09.000000000 +0900
+++ Nlsconfig.php 2011-02-14 14:27:38.000000000 +0900
@@ -64,22 +64,22 @@
case 'curr_charset':
/* Return charset for the current language. */
- $ret = isset($this->_config->charsets[$GLOBALS['language']])
- ? $this->_config->charsets[$GLOBALS['language']]
+ $ret = isset($this->_config['charsets'][$GLOBALS['language']])
+ ? $this->_config['charsets'][$GLOBALS['language']]
: null;
break;
case 'curr_default':
/* The default langauge, as specified by the config file. */
- $ret = isset($this->_config->defaults['language'])
- ? $this->_config->defaults['language']
+ $ret = isset($this->_config['defaults']['language'])
+ ? $this->_config['defaults']['language']
: null;
break;
case 'curr_emails':
/* Return e-mail charset for the current language. */
- $ret = isset($this->_config->emails[$GLOBALS['language']])
- ? $this->_config->emails[$GLOBALS['language']]
+ $ret = isset($this->_config['emails'][$GLOBALS['language']])
+ ? $this->_config['emails'][$GLOBALS['language']]
: null;
break;
-=-=-=-=-
Hiromi Kimura http://www.tac.tsukuba.ac.jp/~hiromi/
PGP Fingerprint16 = 2A 27 2E 46 9E 75 4E 3D E3 FD 5A DC 2A AA 3A 2E
More information about the dev
mailing list