Commit 7dc68683 authored by Michael Seevogel's avatar Michael Seevogel
Browse files

Use unequal operator for if statement

parent d6f2cadc
...@@ -69,7 +69,7 @@ class system_config_dns_ca_plugin { ...@@ -69,7 +69,7 @@ class system_config_dns_ca_plugin {
$global_config = $app->getconf->get_global_config('sites'); $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']; $domain = $page_form->dataRecord['domain'];
$subdomain = $page_form->dataRecord['subdomain']; $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%'); $temp=$app->db->queryAllRecords("SELECT * FROM dns_rr WHERE type = 'CAA' AND (name = ? OR name = ?) AND data like ?", $domain.'.', $subdomain.'.'.$domain.'.', '%letsencrypt%');
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment