Commit 4ec5e852 authored by Mat's avatar Mat
Browse files

correction, car on a modifié le __construct OffreLegumes

parent 45a9b646
......@@ -225,7 +225,7 @@ class LegumeAPIController extends MasterAPIController
$id_offre = $formInsert['offre'];
$reference = $this->newReference($legume, $id_offre);
$offrelegumes = new OffreLegumes();
$offrelegumes = new OffreLegumes($id_offre);
$offrelegumes
->setReference($reference)
->setNom($legume->getNom())
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment