diff options
author | Ramón M. Gómez <ramongomez@us.es> | 2020-07-17 14:39:39 +0200 |
---|---|---|
committer | Ramón M. Gómez <ramongomez@us.es> | 2020-07-17 14:39:39 +0200 |
commit | 74c2edc3754b43cfa83c1b70b992415db3b387ab (patch) | |
tree | 2c81ff78316b98b300a97ca511fd898c9b78e702 /admin | |
parent | b8bd4c704a263cf65ea4c344a5055a3101ccafa4 (diff) |
#991: Computers in maintenance mode will not be chosen for remote access.
Diffstat (limited to 'admin')
-rw-r--r-- | admin/WebConsole/rest/remotepc.php | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/admin/WebConsole/rest/remotepc.php b/admin/WebConsole/rest/remotepc.php index f8f3af75..3b4f627c 100644 --- a/admin/WebConsole/rest/remotepc.php +++ b/admin/WebConsole/rest/remotepc.php @@ -95,6 +95,7 @@ SELECT adm.idusuario, ordenadores.idordenador, ordenadores.nombreordenador, orde LEFT JOIN remotepc ON remotepc.id=ordenadores.idordenador WHERE adm.idusuario = '$userid' AND aulas.idcentro = '$ouid' AND aulas.idaula LIKE '$labid' AND aulas.inremotepc = 1 + AND ordenadores.maintenance = 0 AND imagenes.idimagen = '$imageid' AND imagenes.inremotepc = 1 AND (remotepc.reserved < NOW() OR ISNULL(reserved)) ORDER BY remotepc.reserved ASC LIMIT 1; |