summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--program/include/rcmail.php3
1 files changed, 3 insertions, 0 deletions
diff --git a/program/include/rcmail.php b/program/include/rcmail.php
index e7a0db826..1e4e24b2d 100644
--- a/program/include/rcmail.php
+++ b/program/include/rcmail.php
@@ -895,6 +895,9 @@ class rcmail
if (!$p['task'] || !in_array($p['task'], rcmail::$main_tasks))
$p['task'] = $this->task;
+ $p['_task'] = $p['task'];
+ unset($p['task']);
+
$url = './';
$delm = '?';
foreach (array_reverse($p) as $par => $val)