Address: changed country to country_id with Country table

This commit is contained in:
Frank Schubert
2024-02-20 20:20:48 +01:00
parent c83fc9bcca
commit 20163e6008
20 changed files with 455 additions and 54 deletions

View File

@@ -48,5 +48,7 @@ while($csv = fgetcsv($input, 0, ";")) {
"is_eu" => ($is_eu) ? 1 : 0
]);
$country->save();
if(!$country->save()) {
die(__FILE__.": Error saving new country!\n");
}
}