fixed bug in bo-object

This commit is contained in:
wnz_gh05t 2005-06-11 16:14:11 +00:00
parent 8f903f9c7f
commit 0956f25666

View File

@ -47,8 +47,7 @@ class bo_resources
$filter = array('accessory_of' => $accessory_of);
$readcats = array_flip((array)$this->acl->get_cats(EGW_ACL_READ));
if($readcats) $filter = $filter + array('cat_id' => $readcats);
if($query['show_bookable']) $filter = $filter + array('bookable' == true);
if($query['show_bookable']) $filter = $filter + array('bookable' => true);
$order_by = $query['order'] ? $query['order'].' '. $query['sort'] : '';
$start = (int)$query['start'];