diff --git a/bin/import_09_marches.php b/bin/import_09_marches.php index 211a888..49356a7 100644 --- a/bin/import_09_marches.php +++ b/bin/import_09_marches.php @@ -101,7 +101,7 @@ foreach($shipments as $element) // Dépiler $pile_index -= 1; // Rajouter un item - SMETI_db::$code = 'MARC'.$pile_code[$pile_index].$element['mpcacod']; + SMETI_db::$code = 'MARC'.$pile_code[$pile_index].$element['marcann']; SMETI_db::$libelle = 'Marchés '.$element['marcann']; SMETI_db::$req1->execute(); // Rajouter un lien