From d17a7d87c5a967e7c0a151ebff33ebbb3a16db28 Mon Sep 17 00:00:00 2001 From: Simon Rettberg Date: Mon, 23 May 2022 14:38:26 +0200 Subject: [rebootcontrol] Force type of ByRef param to array --- modules-available/rebootcontrol/inc/rebootcontrol.inc.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'modules-available/rebootcontrol') 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 => [ -- cgit v1.2.3-55-g7522