[dev] Nlsconfig.php (Git)
Jan Schneider
jan at horde.org
Mon Feb 14 10:54:00 UTC 2011
Zitat von Hiromi Kimura <hiromi at tac.tsukuba.ac.jp>:
> Hello,
> There are some typos in framework/Core/lib/Horde/Nlsconfig.php.
Fixed, thanks!
> --- 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
> --
> Horde developers mailing list
> Frequently Asked Questions: http://horde.org/faq/
> To unsubscribe, mail: dev-unsubscribe at lists.horde.org
>
Jan.
--
Do you need professional PHP or Horde consulting?
http://horde.org/consulting/
More information about the dev
mailing list