Don't include candidates who have not been given a score
This commit is contained in:
@@ -117,7 +117,8 @@ if (($handle = fopen($inputFile, "r")) !== FALSE) {
|
||||
|
||||
$rating = $data[2];
|
||||
if ($rating == "score" || $rating == "") {
|
||||
$rating = 0;
|
||||
// Don't include candidates who haven't been given a score
|
||||
continue;
|
||||
}
|
||||
$rating = (int)$rating;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user