summaryrefslogtreecommitdiffstats
path: root/admin/WebConsole/varios/menucliente.php
diff options
context:
space:
mode:
Diffstat (limited to 'admin/WebConsole/varios/menucliente.php')
-rw-r--r--admin/WebConsole/varios/menucliente.php8
1 files changed, 4 insertions, 4 deletions
diff --git a/admin/WebConsole/varios/menucliente.php b/admin/WebConsole/varios/menucliente.php
index 669d705c..27a653b1 100644
--- a/admin/WebConsole/varios/menucliente.php
+++ b/admin/WebConsole/varios/menucliente.php
@@ -41,10 +41,10 @@ fclose($gestor);
if (! empty ($contenidofichero)) {
$cmd->texto="UPDATE ordenadores_particiones
SET cache='".$contenidofichero."'
- WHERE idordenador='".$idordenador."' AND
- idsistemafichero=(SELECT idsistemafichero
- FROM sistemasficheros
- WHERE descripcion='CACHE')";
+ WHERE idordenador=(SELECT idordenador FROM ordenadores
+ WHERE ip='".$iph."') AND
+ idsistemafichero=(SELECT idsistemafichero FROM sistemasficheros
+ WHERE descripcion='CACHE')";
$resul=$cmd->Ejecutar();
}
//agp