An enhancement to ensure that flatten domains gets the correct FTN

This commit is contained in:
2023-09-15 14:28:38 +10:00
parent a991db788e
commit 6e133770fc
2 changed files with 24 additions and 2 deletions

View File

@@ -704,7 +704,7 @@ class Message extends FTNBase
// If domain should be flattened, look for node regardless of zone (within the list of zones for the domain)
if ($this->fdomain && $this->fdomain->flatten) {
$ao = Address::findZone($this->fdomain,$net&DomainController::NUMBER_MAX,$node&DomainController::NUMBER_MAX);
$ao = Address::findZone($this->fdomain,$net&DomainController::NUMBER_MAX,$node&DomainController::NUMBER_MAX,0);
$aoid = $ao?->id;