summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--modules-available/rebootcontrol/inc/rebootcontrol.inc.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/modules-available/rebootcontrol/inc/rebootcontrol.inc.php b/modules-available/rebootcontrol/inc/rebootcontrol.inc.php
index 5e02eafd..f392dcdc 100644
--- a/modules-available/rebootcontrol/inc/rebootcontrol.inc.php
+++ b/modules-available/rebootcontrol/inc/rebootcontrol.inc.php
@@ -349,7 +349,7 @@ class RebootControl
$subnets[$net]['jumphosts'][$row['hostid']] = $row['hostid'];
}
$row['jobs'] = [];
- $jumphosts[] = $row;
+ $jumphosts[$row['hostid']] = $row;
}
// Group by subnet
foreach ($list as $client) {