From 7dc68683f01ac8787af09eaafd71250f0c02fd46 Mon Sep 17 00:00:00 2001 From: Michael Seevogel <git@michaelseevogel.de> Date: Tue, 16 Aug 2022 12:01:50 +0200 Subject: [PATCH] Use unequal operator for if statement --- interface/lib/plugins/system_config_dns_ca_plugin.inc.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/interface/lib/plugins/system_config_dns_ca_plugin.inc.php b/interface/lib/plugins/system_config_dns_ca_plugin.inc.php index 20b00b90e4..ba28ca0641 100644 --- a/interface/lib/plugins/system_config_dns_ca_plugin.inc.php +++ b/interface/lib/plugins/system_config_dns_ca_plugin.inc.php @@ -69,7 +69,7 @@ class system_config_dns_ca_plugin { $global_config = $app->getconf->get_global_config('sites'); - if(($page_form->dataRecord['ssl_letsencrypt'] == 'y') && ($global_config['le_caa_autocreate_options'] == 'y')) { + if(($page_form->dataRecord['ssl_letsencrypt'] == 'y') && ($global_config['le_caa_autocreate_options'] != 'n')) { $domain = $page_form->dataRecord['domain']; $subdomain = $page_form->dataRecord['subdomain']; $temp=$app->db->queryAllRecords("SELECT * FROM dns_rr WHERE type = 'CAA' AND (name = ? OR name = ?) AND data like ?", $domain.'.', $subdomain.'.'.$domain.'.', '%letsencrypt%'); -- GitLab