Skip to content
Snippets Groups Projects
Commit 7dc68683 authored by ms217's avatar ms217
Browse files

Use unequal operator for if statement

parent d6f2cadc
No related branches found
Tags 3.2.11p1
No related merge requests found
......@@ -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%');
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment