We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent ba26d23 commit dccb491Copy full SHA for dccb491
web/edit/dns/index.php
@@ -141,9 +141,9 @@
141
$v_dnssec = 'no';
142
$restart_dns = 'yes';
143
}
144
-
+
145
// Change domain dnssec
146
- if (($_POST['v_dnssec'] == 'yes' && $v_dnssec == 'no') && (empty($_SESSION['error_msg']))) {
+ if (($_POST['v_dnssec'] == 'yes' && $v_dnssec !== 'yes') && (empty($_SESSION['error_msg']))) {
147
exec(HESTIA_CMD."v-change-dns-domain-dnssec ".$user." ".$v_domain." 'yes'", $output, $return_var);
148
check_return_code($return_var, $output);
149
unset($output);
0 commit comments