From a7321e7578b54d8bb1080f437ebc223ad5d325cc Mon Sep 17 00:00:00 2001 From: alecpl Date: Wed, 8 Feb 2012 11:59:11 +0000 Subject: - Fix URL building - skip null parameters --- program/include/rcmail.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 = '&'; -- cgit v1.2.3