diff options
author | ramon <ramongomez@us.es> | 2012-06-08 09:41:49 +0000 |
---|---|---|
committer | ramon <ramongomez@us.es> | 2012-06-08 09:41:49 +0000 |
commit | d568b1f51652d39542ccf2b0d8ac3c50ad3fd112 (patch) | |
tree | 0605b02d9a26393d2f892959118d146cef963ef2 /admin/WebConsole/varios/menucliente.php | |
parent | 4ee02ceea7d1ef9eca926b54d7dffd016e9b2e7b (diff) |
Versión 1.0.4, #495: Sentencia correcta para actualizar datos de la caché.
git-svn-id: https://opengnsys.es/svn/branches/version1.0@3164 a21b9725-9963-47de-94b9-378ad31fedc9
Diffstat (limited to 'admin/WebConsole/varios/menucliente.php')
-rw-r--r-- | admin/WebConsole/varios/menucliente.php | 8 |
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 |