Undefined variable

svn path=/trunk/boinc/; revision=8399
This commit is contained in:
Bruce Allen 2005-10-01 17:50:15 +00:00
parent 9fb3b46797
commit c62d4ef71b
1 changed files with 3 additions and 1 deletions

View File

@ -384,7 +384,9 @@ if (file_exists($lang_language_dir.$lang_compiled_dir."language_interface.inc"))
} else {
$language_string = '';
}
$language_string .= strtolower($HTTP_SERVER_VARS["HTTP_ACCEPT_LANGUAGE"]);
if (isset($HTTP_SERVER_VARS["HTTP_ACCEPT_LANGUAGE"])) {
$language_string .= strtolower($HTTP_SERVER_VARS["HTTP_ACCEPT_LANGUAGE"]);
}
//Find out which language to use by iterating trough list
//The list is commaseperated, so split it into an array of the following type: