From e3fdcf5919b8bea98d6c765f22e04a448a0c31dd Mon Sep 17 00:00:00 2001 From: thomascube Date: Thu, 7 Aug 2008 07:02:50 +0000 Subject: Don't add empty url params --- program/include/rcmail.php | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'program/include/rcmail.php') 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; } -- cgit v1.2.3