Skip to content
Snippets Groups Projects
Commit 8238d040 authored by Helmo's avatar Helmo
Browse files

Workaround to set app_module context to mail, #5448

parent 99d4a961
No related branches found
No related tags found
No related merge requests found
......@@ -70,6 +70,9 @@ class page_action extends tform_actions {
function onShowEnd() {
global $app, $conf;
// Workaround for #5448, accessed via link on quota dashlet.
$app->tpl->setVar('app_module', 'mail');
$email = $this->dataRecord["email"];
$email_parts = explode("@", $email);
$app->tpl->setVar("email_local_part", $email_parts[0]);
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment