Skip to content

Commit 10e6f1d

Browse files
committed
Use no instead of false for restart flag
1 parent 0f1d527 commit 10e6f1d

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
@@ -140,7 +140,7 @@
140140
$v_ttl = escapeshellarg($_POST['v_ttl']);
141141
// Add dns record
142142
if (empty($_SESSION['error_msg'])) {
143-
exec(HESTIA_CMD."v-add-dns-record ".$user." ".$v_domain." ".$v_rec." ".$v_type." ".$v_val." ".$v_priority." '' false ".$v_ttl, $output, $return_var);
143+
exec(HESTIA_CMD."v-add-dns-record ".$user." ".$v_domain." ".$v_rec." ".$v_type." ".$v_val." ".$v_priority." '' no ".$v_ttl, $output, $return_var);
144144
check_return_code($return_var, $output);
145145
unset($output);
146146
}

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)