diff --git a/providers/hostingde/hostingdeProvider.go b/providers/hostingde/hostingdeProvider.go index 5c721636b..aecee1ae2 100644 --- a/providers/hostingde/hostingdeProvider.go +++ b/providers/hostingde/hostingdeProvider.go @@ -159,7 +159,7 @@ func (hp *hostingdeProvider) GetDomainCorrections(dc *models.DomainConfig) ([]*m var DnsSecOptions *dnsSecOptions = nil // ensure that publishKsk is set for domains with AutoDNSSec - if existingAutoDNSSecEnabled == desiredAutoDNSSecEnabled == true { + if existingAutoDNSSecEnabled && desiredAutoDNSSecEnabled { CurrentDnsSecOptions, err := hp.getDNSSECOptions(zone.ZoneConfig.ID) if err != nil { return nil, err