Fix creation of Region Address AKA for a system
This commit is contained in:
parent
aa1a460836
commit
941f7b480e
@ -76,7 +76,7 @@ class AddressAdd extends FormRequest
|
||||
$query
|
||||
->where('region_id',$value)
|
||||
// Check that a host doesnt already exist
|
||||
->orWhere('host_id',$value)
|
||||
->where('host_id',$value)
|
||||
)
|
||||
->where('zone_id',$request->zone_id)
|
||||
->where('node_id',0)
|
||||
|
Loading…
Reference in New Issue
Block a user