Wrong constant fixed
authorRoland Häder <roland@mxchange.org>
Sat, 23 Feb 2008 12:12:58 +0000 (12:12 +0000)
committerRoland Häder <roland@mxchange.org>
Sat, 23 Feb 2008 12:12:58 +0000 (12:12 +0000)
inc/functions.php

index 5027229b64d5f18fbe29d9e6466f383836beb1f0..25aa0e93360b1355be31ad0aba7a695c05452ee2 100644 (file)
@@ -662,7 +662,7 @@ function GET_LANGUAGE() {
                $ret = get_session('mx_lang');
 
                // Fixes a warning before the session has the mx_lang constant
                $ret = get_session('mx_lang');
 
                // Fixes a warning before the session has the mx_lang constant
-               if (empty($ret)) $ret = DEFAULT_LANGUAGE;
+               if (empty($ret)) $ret = DEFAULT_LANG;
        }
        return $ret;
 }
        }
        return $ret;
 }