Address: changed country to country_id with Country table
This commit is contained in:
@@ -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");
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user