diff options
author | Irina Gómez <irinagomez@us.es> | 2022-02-25 08:11:31 +0100 |
---|---|---|
committer | Irina Gómez <irinagomez@us.es> | 2022-02-25 08:11:31 +0100 |
commit | fa1c10d7f0c4b43088e510fe00a2f340b81c7149 (patch) | |
tree | 4e6c07aa073adceaf7299769bba59451ce967d84 /admin/WebConsole/rest | |
parent | 2150f018ce75fd14111a70ccce49e09c2c5affdd (diff) |
#1070 Fix SQL query in remotePC unreserve function.
Diffstat (limited to 'admin/WebConsole/rest')
-rw-r--r-- | admin/WebConsole/rest/remotepc.php | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/admin/WebConsole/rest/remotepc.php b/admin/WebConsole/rest/remotepc.php index 6dc5a62d..12bbde1b 100644 --- a/admin/WebConsole/rest/remotepc.php +++ b/admin/WebConsole/rest/remotepc.php @@ -533,7 +533,7 @@ EOD; $cmd->Ejecutar(); $cmd->texto = <<<EOD DELETE FROM ogagent_queue - WHERE clientid = '$clntid' AND command IN ('popup-10', 'popup-5', 'poweroff'); + WHERE clientid = '$clntid' AND operation IN ('popup-10', 'popup-5', 'poweroff'); EOD; $cmd->Ejecutar(); $cmd->texto = "DROP EVENT IF EXISTS e_timeout_$clntid;"; |