diff --git a/classes/Leth/IPAddress/IP/NetworkAddress.php b/classes/Leth/IPAddress/IP/NetworkAddress.php index cfd3859..75efe0f 100755 --- a/classes/Leth/IPAddress/IP/NetworkAddress.php +++ b/classes/Leth/IPAddress/IP/NetworkAddress.php @@ -183,6 +183,7 @@ public static function merge(array $network_addresses): array usort($net_addrs, array(__CLASS__, 'compare')); $last_added = NULL; + $a = $b = NULL; for ($i = 0; $i < count($net_addrs) - 1; $i++) { $a = $net_addrs[$i]; $b = $net_addrs[$i + 1];