Non functional cosmetic updates
This commit is contained in:
@@ -16,10 +16,10 @@ use App\Traits\ScopeActive;
|
||||
|
||||
class Address extends Model
|
||||
{
|
||||
private const LOGKEY = 'MA-';
|
||||
|
||||
use ScopeActive,SoftDeletes;
|
||||
|
||||
private const LOGKEY = 'MA-';
|
||||
|
||||
protected $with = ['zone'];
|
||||
|
||||
// http://ftsc.org/docs/frl-1028.002
|
||||
@@ -768,8 +768,10 @@ class Address extends Model
|
||||
$ao = $s->system->match($this->zone)->first();
|
||||
|
||||
// If we dont match on the address, we cannot pack mail for that system
|
||||
if (! $ao)
|
||||
if (! $ao) {
|
||||
Log::alert(sprintf('%s:! We didnt match an address in zone [%d] for [%s]',self::LOGKEY,$this->zone->zone_id,$this->ftn));
|
||||
return NULL;
|
||||
}
|
||||
|
||||
// Get packet type
|
||||
$type = collect(Packet::PACKET_TYPES)->get($this->system->pkt_type ?: config('fido.packet_default'));
|
||||
|
Reference in New Issue
Block a user