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