summaryrefslogtreecommitdiff
path: root/functions.php
diff options
context:
space:
mode:
Diffstat (limited to 'functions.php')
-rw-r--r--functions.php6
1 files changed, 4 insertions, 2 deletions
diff --git a/functions.php b/functions.php
index 885505c92..9cb986251 100644
--- a/functions.php
+++ b/functions.php
@@ -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\"/>";
+ }
}
}