diff --git a/app/Http/Requests/AddressAdd.php b/app/Http/Requests/AddressAdd.php index 313db18..b4f46fe 100644 --- a/app/Http/Requests/AddressAdd.php +++ b/app/Http/Requests/AddressAdd.php @@ -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)