From 2cc1cac7726cdf00ea1134ddd0ee0e83e2997f1e Mon Sep 17 00:00:00 2001
From: alecpl <alec@alec.pl>
Date: Fri, 03 Oct 2008 04:12:46 -0400
Subject: [PATCH] #1485442: set mailbox name in client env in mail/show action
---
program/steps/mail/show.inc | 1 +
1 files changed, 1 insertions(+), 0 deletions(-)
diff --git a/program/steps/mail/show.inc b/program/steps/mail/show.inc
index c9999f3..941c3cc 100644
--- a/program/steps/mail/show.inc
+++ b/program/steps/mail/show.inc
@@ -74,6 +74,7 @@
$OUTPUT->set_env('safemode', $MESSAGE->is_safe);
$OUTPUT->set_env('sender', $MESSAGE->sender['string']);
$OUTPUT->set_env('permaurl', rcmail_url('show', array('_uid' => $MESSAGE->uid, '_mbox' => $mbox_name)));
+ $OUTPUT->set_env('mailbox', $mbox_name);
// check for unset disposition notification
if ($MESSAGE->headers->mdn_to &&
--
Gitblit v1.9.1