From 20e29ecd15e3b9101a4f0c064246171da9138ac0 Mon Sep 17 00:00:00 2001 From: Jokob-sk Date: Sat, 17 Feb 2024 07:25:42 +1100 Subject: [PATCH] =?UTF-8?q?Empty=20Devices=20error=20#568=F0=9F=A9=B9?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- front/devices.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/front/devices.php b/front/devices.php index 209a312b..9245e2f3 100755 --- a/front/devices.php +++ b/front/devices.php @@ -697,7 +697,7 @@ function getNumberOfChildren(mac, devices) $.each(devices, function(index, dev) { - if(dev.dev_Network_Node_MAC_ADDR.trim() == mac.trim()) + if(dev.dev_Network_Node_MAC_ADDR != null && dev.dev_Network_Node_MAC_ADDR.trim() == mac.trim()) { childrenCount++; }