diff --git a/app/Classes/Protocol.php b/app/Classes/Protocol.php index 65ae2f2..4b3ce78 100644 --- a/app/Classes/Protocol.php +++ b/app/Classes/Protocol.php @@ -431,8 +431,7 @@ abstract class Protocol if ($so && $so->exists) { foreach ($this->node->aka_other as $aka) - if (! Address::findFTN($aka)) { - $oo = Address::createFTN($aka,$so); + if ((! Address::findFTN($aka)) && ($oo=Address::createFTN($aka,$so))) { $oo->validated = TRUE; $oo->save(); }