mirror of
https://github.com/EGroupware/egroupware.git
synced 2024-12-26 08:38:54 +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