Commit 4b50b5aa authored by Mat's avatar Mat

BUG, l'ajout d'une nouvelle offre est cassée

parent 2939da3e
......@@ -57,7 +57,7 @@ class OffreAPIController extends MasterAPIController
{
$em = $this->getDoctrine()->getManager();
$em->persist($offre);
$em->flush();
$em->flush(); // TODO bug -> Notice: Array to string conversion
return $this->api($offre);
}
return $this->api($form , Response::HTTP_BAD_REQUEST);
......
File mode changed from 100644 to 100755
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