mirror of
https://github.com/EGroupware/egroupware.git
synced 2024-11-07 16:44:07 +01:00
Initialize accessory list array
This commit is contained in:
parent
9feb7e22bf
commit
b126ccf8c3
@ -311,6 +311,7 @@ class resources_bo
|
||||
{
|
||||
if($res_id < 1){return;}
|
||||
$data = $this->so->search('','res_id,name','','','','','',$start,array('accessory_of' => $res_id),'',$need_full_no_count=true);
|
||||
$acc_list = array();
|
||||
foreach($data as $num => $resource)
|
||||
{
|
||||
$acc_list[$resource['res_id']] = $resource['name'];
|
||||
|
Loading…
Reference in New Issue
Block a user