mirror of https://github.com/BOINC/boinc.git
Added = to == to get === (a boolean comparison) instead of == (an evaluated value comparison)
svn path=/trunk/boinc/; revision=8683
This commit is contained in:
parent
84e8b6aaaf
commit
7523c3f7d9
|
@ -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 {
|
||||
|
|
Loading…
Reference in New Issue