summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--program/include/rcmail.php3
1 files changed, 2 insertions, 1 deletions
diff --git a/program/include/rcmail.php b/program/include/rcmail.php
index f3b39709e..21e9e2a15 100644
--- a/program/include/rcmail.php
+++ b/program/include/rcmail.php
@@ -860,7 +860,8 @@ class rcmail
unset($p['task']);
foreach ($p as $par => $val)
- $url .= '&'.urlencode($par).'='.urlencode($val);
+ if (isset($val))
+ $url .= '&'.urlencode($par).'='.urlencode($val);
return $url;
}