From a2e9739cda448b2d383530d567ce60d84b41a157 Mon Sep 17 00:00:00 2001 From: Wilmer Date: Mon, 28 Nov 2016 09:02:01 -0400 Subject: [PATCH] corregido el error donde mostraba que si tenia solicitud de antiguedad --- src/AppBundle/Controller/AscensoController.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/AppBundle/Controller/AscensoController.php b/src/AppBundle/Controller/AscensoController.php index 8c06a84..6ede428 100644 --- a/src/AppBundle/Controller/AscensoController.php +++ b/src/AppBundle/Controller/AscensoController.php @@ -346,7 +346,7 @@ class AscensoController extends Controller $pida = $this->getDoctrine()->getRepository('AppBundle:AdscripcionPida')->findOneByIdRolInstitucion($servicio->getIdRolInstitucion()); $antiguedad = $this->getDoctrine()->getRepository('AppBundle:DocenteServicio')->findOneBy(array( - 'idRolInstitucion' => $this->getUser()->getIdRolInstitucion(), + 'idRolInstitucion' => $servicio->getIdRolInstitucion(), 'idServicioCe' => 1 )); -- 2.0.0