Fix for another address loop when finding a parent
This commit is contained in:
parent
69864db213
commit
929d25c737
@ -279,6 +279,7 @@ class Address extends Model
|
|||||||
->where('region_id',$this->region_id)
|
->where('region_id',$this->region_id)
|
||||||
->where('host_id',$this->host_id)
|
->where('host_id',$this->host_id)
|
||||||
->where('node_id',0))
|
->where('node_id',0))
|
||||||
|
->where('role','<',$this->role)
|
||||||
->single();
|
->single();
|
||||||
|
|
||||||
break;
|
break;
|
||||||
|
Loading…
Reference in New Issue
Block a user