Set {filter} to '' if no $filter_obj

This commit is contained in:
Miles Lott 2001-03-29 17:13:35 +00:00
parent a031515dbe
commit 6a59701d07

View File

@ -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');