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++; }