summaryrefslogtreecommitdiffstats
path: root/admin
diff options
context:
space:
mode:
Diffstat (limited to 'admin')
-rw-r--r--admin/WebConsole/comandos/CrearImagen.php4
1 files changed, 2 insertions, 2 deletions
diff --git a/admin/WebConsole/comandos/CrearImagen.php b/admin/WebConsole/comandos/CrearImagen.php
index 1944872a..fe9412ad 100644
--- a/admin/WebConsole/comandos/CrearImagen.php
+++ b/admin/WebConsole/comandos/CrearImagen.php
@@ -123,8 +123,8 @@ function HTMLSELECT_imagenes($cmd,$idrepositorio,$idperfilsoft,$disk,$particion,
imagenes.idperfilsoft, repositorios.nombrerepositorio, repositorios.ip
FROM imagenes INNER JOIN repositorios USING (idrepositorio)
WHERE imagenes.tipo=".$IMAGENES_MONOLITICAS."
- AND repositorios.idrepositorio IN (SELECT idrepositorio FROM ordenadores WHERE ordenadores.ip='".$masterip."')
- OR repositorios.ip='".$masterip."' ORDER BY imagenes.descripcion";
+ AND repositorios.idcentro=".$_SESSION["widcentro"]."
+ ORDER BY imagenes.descripcion";
$rs=new Recordset;
$rs->Comando=&$cmd;