diff --git a/src/AppBundle/Controller/AdscripcionController.php b/src/AppBundle/Controller/AdscripcionController.php index 52307e7..b72231e 100644 --- a/src/AppBundle/Controller/AdscripcionController.php +++ b/src/AppBundle/Controller/AdscripcionController.php @@ -620,7 +620,9 @@ class AdscripcionController extends Controller } - + $servicio->setIdEstatus($this->getDoctrine()->getRepository("AppBundle:Estatus")->findOneById(2)); + $em->persist($documento); + $em->flush(); return $this->redirect($this->generateUrl('adscripcion_show', array('id' => $servicio->getId()))); }