Skip to content

Commit 3d7c50e

Browse files
authored
Merge pull request hestiacp#2445 from jaapmarcus/fix/webmail-client-selection
Fix broken webmail client selection
2 parents 7712cac + baef22c commit 3d7c50e

File tree

1 file changed

+5
-1
lines changed

1 file changed

+5
-1
lines changed

web/edit/mail/index.php

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,11 @@
2222
// List mail domain
2323
if ((!empty($_GET['domain'])) && (empty($_GET['account']))) {
2424
$v_domain = $_GET['domain'];
25-
25+
26+
exec(HESTIA_CMD."v-list-sys-webmail json", $output, $return_var);
27+
$webmail_clients = json_decode(implode('', $output), true);
28+
unset($output);
29+
2630
exec(HESTIA_CMD."v-list-mail-domain ".$user." ".escapeshellarg($v_domain)." json", $output, $return_var);
2731
$data = json_decode(implode('', $output), true);
2832
check_return_code_redirect($return_var, $output, '/list/mail/');

0 commit comments

Comments
 (0)