summaryrefslogtreecommitdiffstats
path: root/admin/WebConsole/principal/configuraciones.php
diff options
context:
space:
mode:
authorramon <ramongomez@us.es>2012-05-08 11:36:41 +0000
committerramon <ramongomez@us.es>2012-05-08 11:36:41 +0000
commitb5becc492e7cba7f6e1021a095443fb25ac02ebb (patch)
tree382db8dcd235f5b8acfcb68b84f937b19e92b3d2 /admin/WebConsole/principal/configuraciones.php
parent2a5c1a4be9fe66ffeba868f0748d4adb27cfa863 (diff)
VersiĆ³n 1.0.4: Corregir consulta para mostrar datos de equipo en formulario de configuraciĆ³n de clinetes.
git-svn-id: https://opengnsys.es/svn/branches/version1.0@3014 a21b9725-9963-47de-94b9-378ad31fedc9
Diffstat (limited to 'admin/WebConsole/principal/configuraciones.php')
-rw-r--r--admin/WebConsole/principal/configuraciones.php8
1 files changed, 4 insertions, 4 deletions
diff --git a/admin/WebConsole/principal/configuraciones.php b/admin/WebConsole/principal/configuraciones.php
index 690616c4..d7ee08b2 100644
--- a/admin/WebConsole/principal/configuraciones.php
+++ b/admin/WebConsole/principal/configuraciones.php
@@ -281,10 +281,10 @@ function datosOrdenadores($cmd,$idordenador)
{
global $TbMsg;
- $cmd->texto="SELECT nombreordenador,ip,mac,perfileshard.descripcion as perfilhard
- FROM ordenadores
- INNER JOIN perfileshard ON perfileshard.idperfilhard=ordenadores.idperfilhard
- WHERE ordenadores.idordenador=".$idordenador;
+ $cmd->texto="SELECT nombreordenador, ip, mac, perfileshard.descripcion AS perfilhard
+ FROM ordenadores
+ LEFT JOIN perfileshard ON perfileshard.idperfilhard=ordenadores.idperfilhard
+ WHERE ordenadores.idordenador=$idordenador";
$rs=new Recordset;
$rs->Comando=&$cmd;
if ($rs->Abrir()){