summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--program/include/rcmail.php5
1 files changed, 2 insertions, 3 deletions
diff --git a/program/include/rcmail.php b/program/include/rcmail.php
index 4fc1262b3..e94e205e7 100644
--- a/program/include/rcmail.php
+++ b/program/include/rcmail.php
@@ -1373,9 +1373,8 @@ class rcmail
$url = './';
$delm = '?';
- foreach (array_reverse($p) as $key => $val)
- {
- if (!empty($val)) {
+ foreach (array_reverse($p) as $key => $val) {
+ if ($val !== '') {
$par = $key[0] == '_' ? $key : '_'.$key;
$url .= $delm.urlencode($par).'='.urlencode($val);
$delm = '&';