forked from extern/egroupware
finer control of not-to-show hidden-input-fields and link-args
This commit is contained in:
parent
d9b680ccae
commit
285b98a9b8
@ -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 .= "<input type=hidden name=\"$name\" value=\"$value\">\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";
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user