Fix cat_id setting - again

This commit is contained in:
Miles Lott 2001-09-17 02:35:01 +00:00
parent 2da7e41cd4
commit 9355b2486c

View File

@ -95,7 +95,9 @@
{
$this->query = $query;
}
if(isset($fcat_id) || $fcat_id == '0' || $fcat_id == 0) { $this->cat_id = $fcat_id; }
if(isset($fcat_id)) { $this->cat_id = $fcat_id; }
if($fcat_id == '0' || $fcat_id == 0 || $fcat_id == '') { $this->cat_id = 0; }
if(isset($sort)) { $this->sort = $sort; }
if(isset($order)) { $this->order = $order; }
if(isset($filter)) { $this->filter = $filter; }