diff options
author | Brion Vibber <brion@pobox.com> | 2009-10-19 13:58:07 +0000 |
---|---|---|
committer | Brion Vibber <brion@pobox.com> | 2009-10-19 13:58:07 +0000 |
commit | e54d3e024e9e35563dbd9dae7a74c3735fdec335 (patch) | |
tree | a6610b368768cf5b20914b7eb883cebe11e99a4f /extlib/php-gettext/gettext.inc | |
parent | b76aa87f49135a416de91d73405c4f4e34f72bbb (diff) | |
parent | b3c29800fbf7bd44f043e0c9742b207e15fb50f2 (diff) |
Merge branch 'i18n-work' of git@gitorious.org:~brion/statusnet/brion-fixes into i18n-work
Diffstat (limited to 'extlib/php-gettext/gettext.inc')
-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 { |