|
|
@@ -275,7 +275,7 @@ for($i = 0; $data = fgetcsv($handle); $i++) {
|
|
|
// Archive missing locations
|
|
|
if($archive_missing) {
|
|
|
foreach($missing_locations as $missing_location) {
|
|
|
- $missing_location->archive = 1;
|
|
|
+ $missing_location->archived = 1;
|
|
|
$missing_location->commit();
|
|
|
}
|
|
|
}
|