skip blank params in init-params output
This commit is contained in:
parent
52c61bf866
commit
5f57b06d27
|
@ -1896,8 +1896,10 @@
|
|||
print "<init-params>";
|
||||
if ($_SESSION["stored-params"]) {
|
||||
foreach (array_keys($_SESSION["stored-params"]) as $key) {
|
||||
$value = htmlspecialchars($_SESSION["stored-params"][$key]);
|
||||
print "<param key=\"$key\" value=\"$value\"/>";
|
||||
if ($key) {
|
||||
$value = htmlspecialchars($_SESSION["stored-params"][$key]);
|
||||
print "<param key=\"$key\" value=\"$value\"/>";
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue