summaryrefslogtreecommitdiffstats
path: root/admin/WebConsole/rest
diff options
context:
space:
mode:
authorRamón M. Gómez <ramongomez@us.es>2019-10-02 14:39:15 +0200
committerRamón M. Gómez <ramongomez@us.es>2019-10-02 14:39:15 +0200
commit57200ac6c07bd873224ad8135aa35476002fc2e3 (patch)
tree89b00a404419ff50ba652ef4f92441860000cc2e /admin/WebConsole/rest
parent506c6708cd59e98dfad67a76f08afa83a09fdc72 (diff)
#708: Fix a typo when composing the software inventory.
Diffstat (limited to 'admin/WebConsole/rest')
-rw-r--r--admin/WebConsole/rest/server.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/admin/WebConsole/rest/server.php b/admin/WebConsole/rest/server.php
index 93cef872..6fb3dad7 100644
--- a/admin/WebConsole/rest/server.php
+++ b/admin/WebConsole/rest/server.php
@@ -1039,7 +1039,7 @@ EOD;
while (!$rs->EOF) {
// Ignoring empty fields.
if (!is_null($rs->campos["descripcion"])) {
- array_push($response['software']['application'], $rs->campos["descripcion"]);
+ array_push($response['software']['applications'], $rs->campos["descripcion"]);
}
$rs->Siguiente();
}