Enable default zones for 4d systems
This commit is contained in:
@@ -273,7 +273,7 @@ class Address extends Model
|
||||
$query->where('domains.name',$domain);
|
||||
})
|
||||
->when((! $ftn['d']),function($query) {
|
||||
$query->where('domains.default',TRUE);
|
||||
$query->where('zones.default',TRUE);
|
||||
})
|
||||
->single();
|
||||
|
||||
@@ -296,7 +296,7 @@ class Address extends Model
|
||||
$query->where('domains.name',$domain);
|
||||
})
|
||||
->when((! $ftn['d']),function($query) {
|
||||
$query->where('domains.default',TRUE);
|
||||
$query->where('zones.default',TRUE);
|
||||
})
|
||||
->single();
|
||||
|
||||
|
Reference in New Issue
Block a user