From 7bbe0a22fd1e6c91765d1fbe53910edcd25610c4 Mon Sep 17 00:00:00 2001 From: MrMoCoDev <74177792+MrMoCoDev@users.noreply.github.com> Date: Thu, 14 Sep 2023 16:33:23 +0100 Subject: [PATCH] FIX TP-Link JetStream 3.0.0 Build 20180511 Rel.36491(s) T1500-28PCT 3.0 (#15318) --- includes/polling/ports.inc.php | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/includes/polling/ports.inc.php b/includes/polling/ports.inc.php index e276b01ef753..1fb5b733ffdf 100644 --- a/includes/polling/ports.inc.php +++ b/includes/polling/ports.inc.php @@ -402,7 +402,9 @@ foreach ($port_stats_poe as $p_index => $p_stats) { $if_id = $port_ent_to_if[$p_index]; - $port_stats[$if_id] = array_merge($port_stats[$if_id], $p_stats); + if (is_array($port_stats[$if_id])) { + $port_stats[$if_id] = array_merge($port_stats[$if_id], $p_stats); + } } } }