diff options
author | Brion Vibber <brion@pobox.com> | 2009-10-19 09:25:05 -0700 |
---|---|---|
committer | Brion Vibber <brion@pobox.com> | 2009-10-19 09:25:05 -0700 |
commit | 39598582d90eab2a8abaf2ca01bcad6cb09d2c73 (patch) | |
tree | 0402d9e18a8956fe58eaa62c77fc7b9c5c87d672 /extlib | |
parent | e48efd322279fd67168957635fa30cf4cb46f81b (diff) | |
parent | b3c29800fbf7bd44f043e0c9742b207e15fb50f2 (diff) |
Merge branch 'i18n-work' into i18n-0.9.x
Diffstat (limited to 'extlib')
-rw-r--r-- | extlib/php-gettext/gettext.inc | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/extlib/php-gettext/gettext.inc b/extlib/php-gettext/gettext.inc index fcaafe7c9..7c95e40ec 100644 --- a/extlib/php-gettext/gettext.inc +++ b/extlib/php-gettext/gettext.inc @@ -129,7 +129,7 @@ function _setlocale($category, $locale) { $ret = 0; if (function_exists('setlocale')) // I don't know if this ever happens ;) $ret = setlocale($category, $locale); - if (($ret and $locale == '') or ($ret == $locale)) { + if ($ret and ($locale == '' or $ret == $locale)) { $EMULATEGETTEXT = 0; $CURRENTLOCALE = $ret; } else { |