Skip to content

Commit 8f6a963

Browse files
authored
Merge pull request hestiacp#4281 from hestiacp/mail-ac-bulk-edit
Fix List Mail Accounts bulk edit
2 parents de5f15b + 82ef67e commit 8f6a963

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

web/bulk/mail/index.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -45,7 +45,7 @@
4545
exit();
4646
}
4747
} else {
48-
switch ($_POST["account"]) {
48+
switch ($action) {
4949
case "delete":
5050
$cmd = "v-delete-mail-account";
5151
break;
@@ -77,7 +77,7 @@
7777
exit();
7878
}
7979
} else {
80-
switch ($_POST["account"]) {
80+
switch ($action) {
8181
case "delete":
8282
$cmd = "v-delete-mail-account";
8383
break;

0 commit comments

Comments
 (0)