diff --git a/resources/inc/class.resources_ui.inc.php b/resources/inc/class.resources_ui.inc.php index cb5c843968..1ee34c8d6c 100755 --- a/resources/inc/class.resources_ui.inc.php +++ b/resources/inc/class.resources_ui.inc.php @@ -791,7 +791,9 @@ class resources_ui $allowed_list = array(); foreach($cats as $cat_id => $cat_name) { - if ($resources = $this->bo->so->search(array('cat_id' => $cat_id, 'bookable' => '1'),'res_id')) + if ($resources = $this->bo->so->search(array('cat_id' => $cat_id, 'bookable' => '1'),'res_id', + '','','',False,'AND',false, array('deleted' => null)) + ) { $keys = array(); foreach($resources as $res)