diff --git a/modules/ukepit.php b/modules/ukepit.php index 3a0e7b8495..2ee8215843 100644 --- a/modules/ukepit.php +++ b/modules/ukepit.php @@ -914,7 +914,7 @@ function find_nodes_for_netdev($customerid, $netdevid, &$customer_nodes, &$custo $netnodename = mb_strtoupper($netnodename); if (array_key_exists($netnodename, $netnodes)) { - if (!in_array($netdevice['invproject'], $netnodes[$netnodename]['invproject'])) { + if (strlen($netdevice['invproject']) && !in_array($netdevice['invproject'], $netnodes[$netnodename]['invproject'])) { $netnodes[$netnodename]['invproject'][] = $netdevice['invproject']; } } else {