Added = to == to get === (a boolean comparison) instead of == (an evaluated value comparison)

svn path=/trunk/boinc/; revision=8683
This commit is contained in:
Janus B. Kristensen 2005-10-16 10:11:19 +00:00
parent 84e8b6aaaf
commit 7523c3f7d9
1 changed files with 1 additions and 1 deletions

View File

@ -303,7 +303,7 @@ function parseLanguage($file, $interface){
**********************/
function checkToken($current_token, $interface, $line){
$id = array_search($current_token,$interface);
if ($id==false){
if ($id===false){
language_log("Above line ".$line.": Language file $file has a token (".$current_token.") that is not defined in the interface.",1);
return false;
} else {