summaryrefslogtreecommitdiff
path: root/program
diff options
context:
space:
mode:
authoralecpl <alec@alec.pl>2008-09-13 08:19:03 +0000
committeralecpl <alec@alec.pl>2008-09-13 08:19:03 +0000
commit1038a66e8a6645d0c14acbe1fd1199f96a5bbbf2 (patch)
treef33f847943f72359374648cbdde5185543a8b8f1 /program
parent6d89d65cd87e2bea02146a25265e017b7b85ef90 (diff)
#1485343: fix _task setting in url
Diffstat (limited to 'program')
-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)