From 6a59701d076177340db76ef13044e13fdef5ccae Mon Sep 17 00:00:00 2001 From: Miles Lott Date: Thu, 29 Mar 2001 17:13:35 +0000 Subject: [PATCH] Set {filter} to '' if no $filter_obj --- phpgwapi/inc/class.nextmatchs.inc.php | 9 ++++++++- 1 file changed, 8 insertions(+), 1 deletion(-) diff --git a/phpgwapi/inc/class.nextmatchs.inc.php b/phpgwapi/inc/class.nextmatchs.inc.php index 070458b0e9..2388fff065 100644 --- a/phpgwapi/inc/class.nextmatchs.inc.php +++ b/phpgwapi/inc/class.nextmatchs.inc.php @@ -105,7 +105,14 @@ $tpl->set_var(search,$this->search($search_obj)); } - $tpl->set_var('filter',$this->filter($filter_obj)); + if ($filter_obj) + { + $tpl->set_var('filter',$this->filter($filter_obj)); + } + else + { + $tpl->set_var('filter',''); + } $tpl->set_var('right',$this->right($sn,$start,$total,$extra)); return $tpl->fp('out','nextmatchs');