diff options
author | thomascube <thomas@roundcube.net> | 2008-08-07 07:02:50 +0000 |
---|---|---|
committer | thomascube <thomas@roundcube.net> | 2008-08-07 07:02:50 +0000 |
commit | e3fdcf5919b8bea98d6c765f22e04a448a0c31dd (patch) | |
tree | 6dbf731c0970f32530f46b7e6089616442202790 /program | |
parent | 28642043ba9e9da5e9922337bd6bf86865277ff7 (diff) |
Don't add empty url params
Diffstat (limited to 'program')
-rw-r--r-- | program/include/rcmail.php | 3 |
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; } |