diff options
author | ramon <ramongomez@us.es> | 2012-09-12 08:59:38 +0000 |
---|---|---|
committer | ramon <ramongomez@us.es> | 2012-09-12 08:59:38 +0000 |
commit | c2814999544c8db42fe0abc4fbbbe6a5348227b1 (patch) | |
tree | b4e10c92571f5053406955e35cb41f4a94f37262 /admin/WebConsole/principal/colasreservas.php | |
parent | e087194ba1ae48912953bb48cbe0ce4232b98bbd (diff) |
#551: Quitar variables referenciadas en llamadas a funciones para compatibilidad con PHP 5.4.
git-svn-id: https://opengnsys.es/svn/branches/version1.0@3279 a21b9725-9963-47de-94b9-378ad31fedc9
Diffstat (limited to 'admin/WebConsole/principal/colasreservas.php')
-rw-r--r-- | admin/WebConsole/principal/colasreservas.php | 14 |
1 files changed, 7 insertions, 7 deletions
diff --git a/admin/WebConsole/principal/colasreservas.php b/admin/WebConsole/principal/colasreservas.php index 6b16f06f..a6ca90f7 100644 --- a/admin/WebConsole/principal/colasreservas.php +++ b/admin/WebConsole/principal/colasreservas.php @@ -564,7 +564,7 @@ function ListaReservas($cmd,$idaula,$nombreaula){ // Año if($ganno<>$rs->campos["anno"]){ if($swd){ - GuardaHorasDias($ganno,$gmes,$gdia,$CntDia,&$CntMes); + GuardaHorasDias($ganno,$gmes,$gdia,$CntDia,$CntMes); $cadenaXML.='</DIA> '; } if($swm){ @@ -597,7 +597,7 @@ function ListaReservas($cmd,$idaula,$nombreaula){ // Mes if($gmes<>$rs->campos["mes"]){ if($swd){ - GuardaHorasDias($ganno,$gmes,$gdia,$CntDia,&$CntMes); + GuardaHorasDias($ganno,$gmes,$gdia,$CntDia,$CntMes); $cadenaXML.='</DIA> '; } if($swm){ @@ -626,7 +626,7 @@ function ListaReservas($cmd,$idaula,$nombreaula){ // Dia if($gdia<>$rs->campos["dia"]){ if($swd){ - GuardaHorasDias($ganno,$gmes,$gdia,$CntDia,&$CntMes); + GuardaHorasDias($ganno,$gmes,$gdia,$CntDia,$CntMes); $cadenaXML.='</DIA> '; } $gdia=$rs->campos["dia"]; @@ -767,7 +767,7 @@ function ListaReservas($cmd,$idaula,$nombreaula){ $rs->Siguiente(); } if($swd){ - GuardaHorasDias($ganno,$gmes,$gdia,$CntDia,&$CntMes); + GuardaHorasDias($ganno,$gmes,$gdia,$CntDia,$CntMes); $cadenaXML.='</DIA> '; } if($swm){ @@ -858,13 +858,13 @@ function PintaHorasDias($ganno,$gmes,$gdia){ $cadenaXML.='</TBDIA> '; } //________________________________________________________________________________________________________ -function GuardaHorasDias($ganno,$gmes,$gdia,$CntDia,$CntMes){ +function GuardaHorasDias($ganno,$gmes,$gdia,$CntDia,&$CntMes){ global $cadenaXML; global $calendario; global $HTMLhorasdias; $HTMLhorasdias="<TABLE cellspacing=3><TR><TD valign=top>"; - $HTMLhorasdias.=$calendario->HorasDias($CntDia,&$porcenhoras); + $HTMLhorasdias.=$calendario->HorasDias($CntDia,$porcenhoras); $HTMLhorasdias.="</TD></TR></TABLE>"; $CntMes[$gdia]=$porcenhoras; @@ -967,4 +967,4 @@ function CriteriosBusquedas(){ $HTMLCriterios.='</TR>'.chr(13); $HTMLCriterios.='</TABLE>'; return($HTMLCriterios); -}?>
\ No newline at end of file +}?> |