From 5f57b06d27f62f5d7335a7073a564eacf557a05d Mon Sep 17 00:00:00 2001 From: Andrew Dolgov Date: Tue, 25 Jul 2006 09:24:23 +0100 Subject: [PATCH] skip blank params in init-params output --- functions.php | 6 ++++-- 1 file 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 ""; if ($_SESSION["stored-params"]) { foreach (array_keys($_SESSION["stored-params"]) as $key) { - $value = htmlspecialchars($_SESSION["stored-params"][$key]); - print ""; + if ($key) { + $value = htmlspecialchars($_SESSION["stored-params"][$key]); + print ""; + } } }