mirror of
https://github.com/EGroupware/egroupware.git
synced 2024-11-25 17:33:49 +01:00
Hide deleted resources from calendar sidebox list
This commit is contained in:
parent
484a2bf6fc
commit
d5d977d60b
@ -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)
|
||||
|
Loading…
Reference in New Issue
Block a user