Index: country_code.module
===================================================================
RCS file: /cvs/drupal-contrib/contributions/modules/country_code/country_code.module,v
retrieving revision 1.93
diff -u -p -r1.93 country_code.module
--- country_code.module	12 Nov 2008 14:41:59 -0000	1.93
+++ country_code.module	4 Dec 2008 19:14:11 -0000
@@ -164,7 +164,7 @@ function _country_code_init_language() {
     $set = FALSE;
     $language_short = (strlen($_SESSION['country_code_language']) > 2) ? substr($_SESSION['country_code_language'], 0, 2) : $_SESSION['country_code_language'];
     // If it's global, return a two-digit language
-    if ($country == COUNTRY_CODE_GLOBAL && isset($country_languages[$language_short])) {
+    if ($language_short == COUNTRY_CODE_GLOBAL && isset($country_languages[$language_short])) {
       $_SESSION['country_code_language'] = $language_short;
       $set = TRUE;
     }
