From b0b09178e8809555417244c51d6e23fc41fab462 Mon Sep 17 00:00:00 2001 From: Matt Way Date: Wed, 4 Sep 2024 20:19:50 +1000 Subject: [PATCH] Skip lines that have an empty candidate name --- csv-normaliser/main.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/csv-normaliser/main.php b/csv-normaliser/main.php index 5f01eaf..cbd4884 100644 --- a/csv-normaliser/main.php +++ b/csv-normaliser/main.php @@ -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; }