diff --git a/app/Models/Address.php b/app/Models/Address.php index 3ebb619..9876dd0 100644 --- a/app/Models/Address.php +++ b/app/Models/Address.php @@ -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.