Skip to content

Commit 1b9ed1b

Browse files
committed
Fix php syntax error in web edit/mail
1 parent 7bc46d8 commit 1b9ed1b

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

web/edit/mail/index.php

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -154,23 +154,23 @@
154154

155155
// Add antivirs
156156
if (($v_antivirus == 'no') && (!empty($_POST['v_antivirus'])) && (empty($_SESSION['error_msg']))) {
157-
exec (HESTIA_CMD."v-add-mail-domain-antivirus ".$v_username." ".$escapeshellarg($v_domain), $output, $return_var);
157+
exec (HESTIA_CMD."v-add-mail-domain-antivirus ".$v_username." ".escapeshellarg($v_domain), $output, $return_var);
158158
check_return_code($return_var,$output);
159159
$v_antivirus = 'yes';
160160
unset($output);
161161
}
162162

163163
// Delete DKIM
164164
if (($v_dkim == 'yes') && (empty($_POST['v_dkim'])) && (empty($_SESSION['error_msg']))) {
165-
exec (HESTIA_CMD."v-delete-mail-domain-dkim ".$v_username." ".$escapeshellarg($v_domain), $output, $return_var);
165+
exec (HESTIA_CMD."v-delete-mail-domain-dkim ".$v_username." ".escapeshellarg($v_domain), $output, $return_var);
166166
check_return_code($return_var,$output);
167167
$v_dkim = 'no';
168168
unset($output);
169169
}
170170

171171
// Add DKIM
172172
if (($v_dkim == 'no') && (!empty($_POST['v_dkim'])) && (empty($_SESSION['error_msg']))) {
173-
exec (HESTIA_CMD."v-add-mail-domain-dkim ".$v_username." ".$escapeshellarg($v_domain), $output, $return_var);
173+
exec (HESTIA_CMD."v-add-mail-domain-dkim ".$v_username." ".escapeshellarg($v_domain), $output, $return_var);
174174
check_return_code($return_var,$output);
175175
$v_dkim = 'yes';
176176
unset($output);

0 commit comments

Comments
 (0)