Don't add empty url params

release-0.6
thomascube 17 years ago
parent 28642043ba
commit e3fdcf5919

@ -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;
}

Loading…
Cancel
Save