Skip lines that have an empty candidate name
This commit is contained in:
1 parent
6aca0bc039
commit
b0b09178e8
1 file changed
+1
-1
@@ -86,7 +86,7 @@ if (($handle = fopen($inputFile, "r")) !== FALSE) {
|
||||
|
||||
$candidateName = trim($data[1]);
|
||||
|
||||
if ($candidateName == "example name") {
|
||||
if ($candidateName == "example name" || $candidateName == "") {
|
||||
error_log("Skipping line ". $currentLine);
|
||||
continue;
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user