diff options
author | ramon <ramongomez@us.es> | 2012-10-18 09:35:01 +0000 |
---|---|---|
committer | ramon <ramongomez@us.es> | 2012-10-18 09:35:01 +0000 |
commit | 0ccb7c77e0f89836f762a16c4b094b3184476819 (patch) | |
tree | 55b36f256ee0e1da32594f96de352b092a31bfce /admin/WebConsole/comandos/RestaurarImagen.php | |
parent | b5183023fd68acecf782e80a441e3bf12347f868 (diff) |
#551: Quitar más avisos para mejorar la compatibilidad con PHP 5.4, eliminando mensajes de error en fichero de log de Apache.
git-svn-id: https://opengnsys.es/svn/branches/version1.0@3352 a21b9725-9963-47de-94b9-378ad31fedc9
Diffstat (limited to 'admin/WebConsole/comandos/RestaurarImagen.php')
-rw-r--r-- | admin/WebConsole/comandos/RestaurarImagen.php | 8 |
1 files changed, 5 insertions, 3 deletions
diff --git a/admin/WebConsole/comandos/RestaurarImagen.php b/admin/WebConsole/comandos/RestaurarImagen.php index 5e5bd250..062e2d66 100644 --- a/admin/WebConsole/comandos/RestaurarImagen.php +++ b/admin/WebConsole/comandos/RestaurarImagen.php @@ -1,4 +1,4 @@ -<? +<?php // ************************************************************************************************************************************************* // Aplicación WEB: ogAdmWebCon // Autor: José Manuel Alonso (E.T.S.I.I.) Universidad de Sevilla @@ -189,7 +189,9 @@ function pintaParticiones($cmd,$configuraciones,$idordenadores,$cc,$ambito,$idam $TBmetodos["MULTICAST-CACHE"]=3; $TBmetodos["MULTICAST-DIRECT"]=4; $TBmetodos["TORRENT-CACHE"]=5; - + if ($idxc == "UNICAST") { + $idxc = "UNICAST-DIRECT"; + } $idxc=$_SESSION["protclonacion"]; echo '<TD>'.HTMLCTESELECT($metodos,"protoclonacion_".$icp,"estilodesple","",$TBmetodos[$idxc],100).'</TD>'; } @@ -299,7 +301,7 @@ $cmd->texto='SELECT pormul, ipmul, modomul, velmul, puestos FROM aulas $rs->Comando=&$cmd; if ($rs->Abrir()){ $rs->Primero(); - $mcastsyntax.= $rs->campos["pormul"] . ':'; + $mcastsyntax = $rs->campos["pormul"] . ':'; $rs->Siguiente(); switch ($rs->campos["modomul"]) |