From: Andrew Dolgov Date: Tue, 25 Jul 2006 08:24:23 +0000 (+0100) Subject: skip blank params in init-params output X-Git-Tag: schema_freeze_for_1.2.2~66 X-Git-Url: https://git.wh0rd.org/?a=commitdiff_plain;h=5f57b06d27f62f5d7335a7073a564eacf557a05d;p=tt-rss.git skip blank params in init-params output --- diff --git a/functions.php b/functions.php index 885505c9..9cb98625 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 ""; + } } }