OSDN Git Service

FIX: マージ漏れにより非ログイン時のロケールが適切に処理されていない不具合を修正
authorsakamocchi <o-takashi@sakamocchi.jp>
Wed, 9 May 2012 15:38:17 +0000 (00:38 +0900)
committersakamocchi <o-takashi@sakamocchi.jp>
Wed, 9 May 2012 15:38:17 +0000 (00:38 +0900)
i18n::get_forced_locale()の返り値の評価に誤りがあった

nucleus/libs/globalfunctions.php

index ee80854..714a99f 100644 (file)
@@ -338,7 +338,7 @@ if ( $member->isLoggedIn() )
 }\r
 else\r
 {\r
-       if ( i18n::get_forced_locale() !== FALSE )\r
+       if ( i18n::get_forced_locale() !== '' )\r
        {\r
                $locale = i18n::get_forced_locale();\r
        }\r