diff options
author | ramon <ramongomez@us.es> | 2016-10-06 12:08:20 +0000 |
---|---|---|
committer | ramon <ramongomez@us.es> | 2016-10-06 12:08:20 +0000 |
commit | f6045a5a04a257ad5dba6f541032798fe6245b91 (patch) | |
tree | 0078c034fecb12473df27e28fe3d60fe3a51b1a7 /admin/WebConsole/rest/ogagent.php | |
parent | 70e03df630975501c8cbfee25d6dfbe141de06a6 (diff) |
#708: Corregir errata en revisiĆ³n r5027.
git-svn-id: https://opengnsys.es/svn/branches/version1.1@5032 a21b9725-9963-47de-94b9-378ad31fedc9
Diffstat (limited to 'admin/WebConsole/rest/ogagent.php')
-rw-r--r-- | admin/WebConsole/rest/ogagent.php | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/admin/WebConsole/rest/ogagent.php b/admin/WebConsole/rest/ogagent.php index d2801d98..d3ead962 100644 --- a/admin/WebConsole/rest/ogagent.php +++ b/admin/WebConsole/rest/ogagent.php @@ -40,7 +40,7 @@ $app->post('/ogagent/started', throw new Exception("Bad secret key: ip=$ip, mac=$mac, os=$osType:$osVersion."); } // Store secret key in DB. - if (isset($input->secret)) $secret = htmlspecialchars($input->secret)); + if (isset($input->secret)) $secret = htmlspecialchars($input->secret); $cmd->texto = "UPDATE ordenadores SET agentkey='$secret' WHERE ip='$ip' AND mac=UPPER(REPLACE('$mac',':','')) |