From 285b98a9b854e362427d604718469ad6bb8df56d Mon Sep 17 00:00:00 2001 From: Ralf Becker Date: Thu, 4 Oct 2001 17:42:55 +0000 Subject: [PATCH] finer control of not-to-show hidden-input-fields and link-args --- infolog/inc/class.html.inc.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/infolog/inc/class.html.inc.php b/infolog/inc/class.html.inc.php index c052a743da..588fbb3fb3 100644 --- a/infolog/inc/class.html.inc.php +++ b/infolog/inc/class.html.inc.php @@ -32,7 +32,7 @@ class html } while (list($name,$value) = each($vars)) { - if ($value != '') // dont need to send all the empty vars + if ($value && !($name == 'filter' && $value == 'none')) // dont need to send all the empty vars { $html .= "\n"; } @@ -57,7 +57,7 @@ class html $v = array( ); while(list($name,$value) = each($vars)) { - if ($value != '') // dont need to send all the empty vars + if ($value && !($name == 'filter' && $value == 'none')) // dont need to send all the empty vars { $v[] = "$name=$value"; }