From d03565b18e08d6215ef309406430d015874ec478 Mon Sep 17 00:00:00 2001 From: Billy Hernandez Balette Date: Tue, 16 Oct 2018 07:58:27 -0600 Subject: [PATCH] Se corrige error en parametro de busqueda de carrera --- src/tesisControl/tesisBundle/Controller/CarreraController.php | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/src/tesisControl/tesisBundle/Controller/CarreraController.php b/src/tesisControl/tesisBundle/Controller/CarreraController.php index 6c39550..a8f9c4b 100644 --- a/src/tesisControl/tesisBundle/Controller/CarreraController.php +++ b/src/tesisControl/tesisBundle/Controller/CarreraController.php @@ -108,11 +108,9 @@ public function newAction() */ public function showAction($id) { - $id1 = $id; - $em = $this->getDoctrine()->getManager(); - $entity = $em->getRepository('tesisControltesisBundle:Carrera')->find($id1); + $entity = $em->getRepository('tesisControltesisBundle:Carrera')->find($id); if (!$entity) { throw $this->createNotFoundException('Unable to find Carrera entity.');