Fix address matching during registration

This commit is contained in:
Deon George 2022-12-11 20:17:24 +11:00
parent f089f3bcdc
commit 1656d3c35c

View File

@ -567,7 +567,7 @@ class SystemController extends Controller
$ca = NULL;
$la = NULL;
foreach ($s->addresses as $ao) {
if ($ca=$so->match($ao->zone))
if (($ca=$so->match($ao->zone))->count())
break;
}