Skip to content

Commit 177c291

Browse files
committed
Use no instead of false for restart flag
1 parent 48dbab4 commit 177c291

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

web/add/dns/index.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -169,7 +169,7 @@
169169
$v_ttl = escapeshellarg($_POST['v_ttl']);
170170
// Add dns record
171171
if (empty($_SESSION['error_msg'])) {
172-
exec(HESTIA_CMD."v-add-dns-record ".$user." ".$v_domain." ".$v_rec." ".$v_type." ".$v_val." ".$v_priority." '' false ".$v_ttl, $output, $return_var);
172+
exec(HESTIA_CMD."v-add-dns-record ".$user." ".$v_domain." ".$v_rec." ".$v_type." ".$v_val." ".$v_priority." '' no ".$v_ttl, $output, $return_var);
173173
check_return_code($return_var, $output);
174174
unset($output);
175175
}

web/edit/dns/index.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -162,7 +162,7 @@
162162
$v_val = escapeshellarg($_POST['v_val']);
163163
$v_priority = escapeshellarg($_POST['v_priority']);
164164
$v_ttl = escapeshellarg($_POST['v_ttl']);
165-
exec(HESTIA_CMD."v-change-dns-record ".$user." ".$v_domain." ".$v_record_id." ".$v_rec." ".$v_type." ".$v_val." ".$v_priority." false ".$v_ttl, $output, $return_var);
165+
exec(HESTIA_CMD."v-change-dns-record ".$user." ".$v_domain." ".$v_record_id." ".$v_rec." ".$v_type." ".$v_val." ".$v_priority." no ".$v_ttl, $output, $return_var);
166166
check_return_code($return_var, $output);
167167
$v_rec = $_POST['v_rec'];
168168
$v_type = $_POST['v_type'];

0 commit comments

Comments
 (0)