forked from extern/egroupware
fixed bug in bo-object
This commit is contained in:
parent
8f903f9c7f
commit
0956f25666
@ -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'];
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user