summaryrefslogtreecommitdiffstats
path: root/modules-available/rebootcontrol
diff options
context:
space:
mode:
authorSimon Rettberg2022-05-23 14:38:26 +0200
committerSimon Rettberg2022-05-23 14:38:26 +0200
commitd17a7d87c5a967e7c0a151ebff33ebbb3a16db28 (patch)
tree54c3218b7e75b864a982c9adb085c47c83bbeae8 /modules-available/rebootcontrol
parent[remoteaccess] Put restriction icon in separate column (diff)
downloadslx-admin-d17a7d87c5a967e7c0a151ebff33ebbb3a16db28.tar.gz
slx-admin-d17a7d87c5a967e7c0a151ebff33ebbb3a16db28.tar.xz
slx-admin-d17a7d87c5a967e7c0a151ebff33ebbb3a16db28.zip
[rebootcontrol] Force type of ByRef param to array
Diffstat (limited to 'modules-available/rebootcontrol')
-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 8269b8df..cc65e82d 100644
--- a/modules-available/rebootcontrol/inc/rebootcontrol.inc.php
+++ b/modules-available/rebootcontrol/inc/rebootcontrol.inc.php
@@ -311,7 +311,7 @@ class RebootControl
public static function wakeMachines(array $clientList, array &$failed = null)
{
$errors = '';
- $sent = $unknown = $unreachable = [];
+ $sent = $unknown = $unreachable = $failed = [];
// For event filtering by rule
// Need all subnets...
/* subnetid => [