From 847f5b9a77e075eea82b5248c06181a5de0e9dde Mon Sep 17 00:00:00 2001 From: Aleksander Machniak Date: Fri, 22 Aug 2014 08:52:29 +0200 Subject: Fix comm_path update on task switch (#1490041) --- program/include/rcmail.php | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'program/include/rcmail.php') diff --git a/program/include/rcmail.php b/program/include/rcmail.php index 04be841d7..1da2f8f91 100644 --- a/program/include/rcmail.php +++ b/program/include/rcmail.php @@ -145,8 +145,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); } } -- cgit v1.2.3