summaryrefslogtreecommitdiffstats
path: root/admin/WebConsole/rest
diff options
context:
space:
mode:
authorramon <ramongomez@us.es>2017-10-13 12:29:28 +0000
committerramon <ramongomez@us.es>2017-10-13 12:29:28 +0000
commit17c28dcb5678568b60fe161e97fdd2ed2be96998 (patch)
tree107cdab7948775e3e98de58a92ed1ad5d177f4c9 /admin/WebConsole/rest
parent9d773c02981d74ff37eeb51c24f1240c689d1e96 (diff)
#708 #718: Corrección errata en consulta de ruta REST {{{/ogagent/loggedout}}}.
git-svn-id: https://opengnsys.es/svn/branches/version1.1@5461 a21b9725-9963-47de-94b9-378ad31fedc9
Diffstat (limited to 'admin/WebConsole/rest')
-rw-r--r--admin/WebConsole/rest/ogagent.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/admin/WebConsole/rest/ogagent.php b/admin/WebConsole/rest/ogagent.php
index 30d0895d..26de8a10 100644
--- a/admin/WebConsole/rest/ogagent.php
+++ b/admin/WebConsole/rest/ogagent.php
@@ -212,7 +212,7 @@ $app->post('/ogagent/loggedout',
// Check if client is included in the server database.
$cmd->CreaParametro("@ip", $ip, 0);
$cmd->texto = <<<EOD
-SELECT ordenadores.idordenador, ordenadores.nombreordenador, remotepc.urllogin,
+SELECT ordenadores.idordenador, ordenadores.nombreordenador, remotepc.urllogout,
remotepc.reserved > NOW() AS reserved
FROM remotepc
RIGHT JOIN ordenadores ON remotepc.id=ordenadores.idordenador