[Alba-desarrollo] SVN Alba r4337 - prosistem/alba/trunk/alba/apps/principal/modules/calendario/actions

commits en pressenter.com.ar commits en pressenter.com.ar
Mie Feb 28 15:43:42 CET 2007


Author: josx
Date: 2007-02-28 11:43:41 -0300 (Wed, 28 Feb 2007)
New Revision: 4337

Modified:
   prosistem/alba/trunk/alba/apps/principal/modules/calendario/actions/actions.class.php
Log:
Solucione el notice de la variable turnos_id que no llegaba al template  (ticket #155)

Modified: prosistem/alba/trunk/alba/apps/principal/modules/calendario/actions/actions.class.php
===================================================================
--- prosistem/alba/trunk/alba/apps/principal/modules/calendario/actions/actions.class.php	2007-02-28 14:22:26 UTC (rev 4336)
+++ prosistem/alba/trunk/alba/apps/principal/modules/calendario/actions/actions.class.php	2007-02-28 14:43:41 UTC (rev 4337)
@@ -164,7 +164,8 @@
         $this->getUser()->setAttribute('anio_id', 0);
         $this->getUser()->setAttribute('division_id', 0);
         $this->getUser()->setAttribute('event', array());
-
+    
+        $turnos_id = "";
         $actividad_id = "";
         $optionsActividad = array();
         $horasMateriasTodas = array();
@@ -289,7 +290,7 @@
             $this->horasMaterias = $this->getHorasMaterias($aAnio[$this->division_id], $actividad_id);
             $this->getUser()->setAttribute('anio_id', $aAnio[$this->division_id]); 
             $this->getUser()->setAttribute('division_id', $this->division_id);
-            $this->turnos_id = $turnos_id;
+//             $this->turnos_id = $turnos_id;
             $anio_id = $aAnio[$this->division_id];
         } else {
             $this->aHour = array(strtotime("8:00"), strtotime("17:00"));
@@ -364,6 +365,8 @@
             $optionsActividad[$actividad->getId()] = $actividad->getNombre();
         }
         $this->optionsActividad = $optionsActividad;     
+
+        $this->turnos_id = $turnos_id;
     }
 
 




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