summaryrefslogtreecommitdiff
path: root/program/include/rcmail.php
diff options
context:
space:
mode:
authorAleksander Machniak <alec@alec.pl>2014-08-22 08:52:29 +0200
committerAleksander Machniak <alec@alec.pl>2014-08-22 08:52:29 +0200
commite35eab5f946fbdca688040da61d33a1a4153f968 (patch)
treeb7adf8c8b32c1c65503ec7a747fba58ca4ea85a4 /program/include/rcmail.php
parentd38f11f4838d26c37ee299db900abf87d08a884e (diff)
Fix comm_path update on task switch (#1490041)
Diffstat (limited to 'program/include/rcmail.php')
-rw-r--r--program/include/rcmail.php5
1 files changed, 5 insertions, 0 deletions
diff --git a/program/include/rcmail.php b/program/include/rcmail.php
index bb2346f5e..0c41c1598 100644
--- a/program/include/rcmail.php
+++ b/program/include/rcmail.php
@@ -147,8 +147,13 @@ class rcmail extends rcube
$this->task = $task;
$this->comm_path = $this->url(array('task' => $this->task));
+ if (!empty($_REQUEST['_framed'])) {
+ $this->comm_path .= '&_framed=1';
+ }
+
if ($this->output) {
$this->output->set_env('task', $this->task);
+ $this->output->set_env('comm_path', $this->comm_path);
}
}