Return more system attributes with Address::findFTN()
This commit is contained in:
parent
b62f18cf3d
commit
5e162a3427
@ -209,7 +209,7 @@ class Address extends Model
|
||||
$o = $query
|
||||
->where('region_id',$ftn['n'])
|
||||
->where('host_id',$ftn['n'])
|
||||
->with(['system:id,active'])
|
||||
->with(['system:id,active,name,address'])
|
||||
->first();
|
||||
|
||||
// Look for a normal address
|
||||
@ -224,7 +224,7 @@ class Address extends Model
|
||||
})
|
||||
->orWhere('host_id',$ftn['n']);
|
||||
})
|
||||
->with(['system:id,active'])
|
||||
->with(['system:id,active,name,address'])
|
||||
->first();
|
||||
|
||||
// Check and see if we are a flattened domain, our address might be available with a different zone.
|
||||
|
Loading…
Reference in New Issue
Block a user