diff options
| author | thomasb <thomasb@208e9e7b-5314-0410-a742-e7e81cd9613c> | 2008-08-07 07:02:50 +0000 |
|---|---|---|
| committer | thomasb <thomasb@208e9e7b-5314-0410-a742-e7e81cd9613c> | 2008-08-07 07:02:50 +0000 |
| commit | aba7aa85228959ea34afc5b0d6ed8a8313f23904 (patch) | |
| tree | 3ca99f3790b729b89d6fef6f2f8fd66a6a5b2dea /roundcubemail | |
| parent | c9359343bc4991caa1390625d43e50ba3bdcfcfe (diff) | |
Don't add empty url params
git-svn-id: https://svn.roundcube.net/trunk@1633 208e9e7b-5314-0410-a742-e7e81cd9613c
Diffstat (limited to 'roundcubemail')
| -rw-r--r-- | roundcubemail/program/include/rcmail.php | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/roundcubemail/program/include/rcmail.php b/roundcubemail/program/include/rcmail.php index f3b39709e..21e9e2a15 100644 --- a/roundcubemail/program/include/rcmail.php +++ b/roundcubemail/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; } |
