From 5e6c6bae467481e2087d9963ebe870a0dd8f7c6f Mon Sep 17 00:00:00 2001 From: Miles Lott Date: Thu, 12 Jul 2001 02:42:26 +0000 Subject: [PATCH] Trying to fix cat_id setting if cat = 0 or '' --- addressbook/inc/class.boaddressbook.inc.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/addressbook/inc/class.boaddressbook.inc.php b/addressbook/inc/class.boaddressbook.inc.php index 578fac2b62..64583df9cc 100644 --- a/addressbook/inc/class.boaddressbook.inc.php +++ b/addressbook/inc/class.boaddressbook.inc.php @@ -61,7 +61,7 @@ if(!empty($sort)) { $this->sort = $sort; } if(!empty($order)) { $this->order = $order; } if(!empty($filter)) { $this->filter = $filter; } - if(!empty($fcat_id)) { $this->cat_id = $fcat_id; } + if(isset($fcat_id)) { $this->cat_id = $fcat_id; } } function save_sessiondata()