Add hold when populating address with system data
This commit is contained in:
parent
d2d2f31664
commit
6bba18fc5f
@ -214,7 +214,7 @@ class Address extends Model
|
||||
$o = $query
|
||||
->where('region_id',$ftn['n'])
|
||||
->where('host_id',$ftn['n'])
|
||||
->with(['system:id,active,name,address,pkt_msgs'])
|
||||
->with(['system:id,active,name,address,pkt_msgs,last_session,hold'])
|
||||
->first();
|
||||
|
||||
// Look for a normal address
|
||||
@ -229,7 +229,7 @@ class Address extends Model
|
||||
})
|
||||
->orWhere('host_id',$ftn['n']);
|
||||
})
|
||||
->with(['system:id,active,name,address,pkt_msgs,last_session'])
|
||||
->with(['system:id,active,name,address,pkt_msgs,last_session,hold'])
|
||||
->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