Handle edge case from EAST GIPPSLAND.csv

This commit is contained in:
2024-09-21 14:45:45 +10:00
parent 1f80ec41db
commit 7b7317cd55

View File

@@ -77,6 +77,9 @@ if (($handle = fopen($inputFile, "r")) !== FALSE) {
if ($currentWard == "Coastal-promontory") {
$currentWard = "Coastal-Promontory";
}
if ($currentWard == "East Gippsland Shire") {
$currentWard = "Unsubdivided";
}
}
if (trim($data[0]) == "Candidate" || trim($data[0]) == "") {
if ($currentWard == null) {