[Alba-desarrollo] SVN Alba r5242 - prosistem/alba/trunk/alba/apps/principal/modules/informes/actions

commits en pressenter.com.ar commits en pressenter.com.ar
Lun Oct 22 22:14:05 CEST 2007


Author: josx
Date: 2007-10-22 17:14:05 -0300 (Mon, 22 Oct 2007)
New Revision: 5242

Modified:
   prosistem/alba/trunk/alba/apps/principal/modules/informes/actions/acti=
ons.class.php
Log:
Se arreglo error de variables en los informes

Modified: prosistem/alba/trunk/alba/apps/principal/modules/informes/actio=
ns/actions.class.php
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D
--- prosistem/alba/trunk/alba/apps/principal/modules/informes/actions/act=
ions.class.php	2007-10-22 20:04:56 UTC (rev 5241)
+++ prosistem/alba/trunk/alba/apps/principal/modules/informes/actions/act=
ions.class.php	2007-10-22 20:14:05 UTC (rev 5242)
@@ -326,10 +326,8 @@
         $establecimiento_id =3D $this->getUser()->getAttribute('fk_estab=
lecimiento_id');
=20
=20
-        if(count($informe->getVariables())>0 AND $this->getRequestParame=
ter('v')!=3D 1) {
-
+        if($informe->getVariables() AND $this->getRequestParameter('v')!=
=3D 1) {
             $this->redirect('informes/variables?id=3D'.$informe->getId()=
.'&alumno_id=3D'.$this->getRequestParameter('alumno_id'));
-
         } else {
             $aDato =3D array();
             switch($informe->getTipoInforme()->getNombre()) {


--=20
Este mensaje ha sido analizado por MailScanner
en busca de virus y otros contenidos peligrosos,
y se considera que est=E1 limpio.
For all your IT requirements visit: http://www.transtec.co.uk




Más información sobre la lista de distribución Alba-desarrollo