Fix for another address loop when finding a parent

This commit is contained in:
Deon George 2023-08-01 16:49:31 +10:00
parent 69864db213
commit 929d25c737

View File

@ -279,6 +279,7 @@ class Address extends Model
->where('region_id',$this->region_id)
->where('host_id',$this->host_id)
->where('node_id',0))
->where('role','<',$this->role)
->single();
break;