Skip to content

Commit c31dc0f

Browse files
author
Till Brehm
committed
Merge branch 'patch-mail-context' into 'stable-3.1'
Workaround to set app_module context to mail, #5448 See merge request ispconfig/ispconfig3!954
2 parents 99d4a96 + 8238d04 commit c31dc0f

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

interface/web/mail/mail_user_edit.php

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -70,6 +70,9 @@ function onShowNew() {
7070
function onShowEnd() {
7171
global $app, $conf;
7272

73+
// Workaround for #5448, accessed via link on quota dashlet.
74+
$app->tpl->setVar('app_module', 'mail');
75+
7376
$email = $this->dataRecord["email"];
7477
$email_parts = explode("@", $email);
7578
$app->tpl->setVar("email_local_part", $email_parts[0]);

0 commit comments

Comments
 (0)