Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
mathieu
potage
Commits
4ec5e852
Commit
4ec5e852
authored
Jun 17, 2018
by
Mat
Browse files
correction, car on a modifié le __construct OffreLegumes
parent
45a9b646
Changes
1
Hide whitespace changes
Inline
Side-by-side
src/APIBundle/Controller/LegumeAPIController.php
View file @
4ec5e852
...
...
@@ -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
())
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment