diff options
author | alecpl <alec@alec.pl> | 2012-02-08 11:59:11 +0000 |
---|---|---|
committer | alecpl <alec@alec.pl> | 2012-02-08 11:59:11 +0000 |
commit | a7321e7578b54d8bb1080f437ebc223ad5d325cc (patch) | |
tree | 0a187f4dc025dd1fe298558b741b5d1494faa528 /program | |
parent | f3599505f1f1f7d231ad10cd771ed271f4fbdafa (diff) |
- Fix URL building - skip null parameters
Diffstat (limited to 'program')
-rw-r--r-- | program/include/rcmail.php | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/program/include/rcmail.php b/program/include/rcmail.php index 1c34759e6..3d5915ea5 100644 --- a/program/include/rcmail.php +++ b/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 = '&'; |