Fix for when Address::createFTN refuses to create an address
This commit is contained in:
parent
f006d829f4
commit
df07d9978e
@ -431,8 +431,8 @@ abstract class Protocol
|
||||
|
||||
if ($so && $so->exists) {
|
||||
foreach ($this->node->aka_other as $aka)
|
||||
if (! Address::findFTN($aka)) {
|
||||
$oo = Address::createFTN($aka,$so);
|
||||
// @todo For disabled zones, we shouldnt refuse to record the address
|
||||
if ((! Address::findFTN($aka)) && ($oo=Address::createFTN($aka,$so))) {
|
||||
$oo->validated = TRUE;
|
||||
$oo->save();
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user