diff options
| author | alec <alec@208e9e7b-5314-0410-a742-e7e81cd9613c> | 2012-02-08 11:59:11 +0000 |
|---|---|---|
| committer | alec <alec@208e9e7b-5314-0410-a742-e7e81cd9613c> | 2012-02-08 11:59:11 +0000 |
| commit | 174be8749b3ce69951293b72ea25087e5da4f7b6 (patch) | |
| tree | 23167315abe02178895b2530854ee9e75f29c08d /roundcubemail/program/include/rcmail.php | |
| parent | a22e89e43fe5be15c29afb0b44ab4c090a4068bd (diff) | |
- Fix URL building - skip null parameters
git-svn-id: https://svn.roundcube.net/trunk@5863 208e9e7b-5314-0410-a742-e7e81cd9613c
Diffstat (limited to 'roundcubemail/program/include/rcmail.php')
| -rw-r--r-- | roundcubemail/program/include/rcmail.php | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/roundcubemail/program/include/rcmail.php b/roundcubemail/program/include/rcmail.php index 1c34759e6..3d5915ea5 100644 --- a/roundcubemail/program/include/rcmail.php +++ b/roundcubemail/program/include/rcmail.php @@ -1507,7 +1507,7 @@ class rcmail $url = './'; $delm = '?'; foreach (array_reverse($p) as $key => $val) { - if ($val !== '') { + if ($val !== '' && $val !== null) { $par = $key[0] == '_' ? $key : '_'.$key; $url .= $delm.urlencode($par).'='.urlencode($val); $delm = '&'; |
