From 5d4eb501d50669f27dd02fc943215a7e155783fd Mon Sep 17 00:00:00 2001 From: Miles Lott Date: Thu, 12 Jul 2001 01:36:51 +0000 Subject: [PATCH] Fix (?) for cat_id... i just don't know anymore --- addressbook/inc/class.boaddressbook.inc.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/addressbook/inc/class.boaddressbook.inc.php b/addressbook/inc/class.boaddressbook.inc.php index 7e5c5dc7d1..578fac2b62 100644 --- a/addressbook/inc/class.boaddressbook.inc.php +++ b/addressbook/inc/class.boaddressbook.inc.php @@ -49,7 +49,7 @@ $this->read_sessiondata(); $this->use_session = True; } - global $start,$limit,$query,$sort,$order,$filter,$cat_id; + global $start,$limit,$query,$sort,$order,$filter,$cat_id,$fcat_id; if(!empty($start) || ($start == "0" )) { @@ -61,7 +61,7 @@ if(!empty($sort)) { $this->sort = $sort; } if(!empty($order)) { $this->order = $order; } if(!empty($filter)) { $this->filter = $filter; } - $this->cat_id = $cat_id; + if(!empty($fcat_id)) { $this->cat_id = $fcat_id; } } function save_sessiondata()