mirror of
https://github.com/EGroupware/egroupware.git
synced 2024-11-07 08:34:42 +01:00
Clear checked array before adding all resources - duplicates cause errors
This commit is contained in:
parent
3e3dda8149
commit
f3f2f4d9ab
@ -295,6 +295,7 @@ class resources_ui
|
||||
@set_time_limit(0); // switch off the execution time limit, as it's for big selections to small
|
||||
$query['num_rows'] = -1; // all
|
||||
$this->bo->get_rows($query,$resources,$readonlys);
|
||||
$checked = array();
|
||||
foreach($resources as $resource)
|
||||
{
|
||||
$checked[] = $resource['res_id'];
|
||||
|
Loading…
Reference in New Issue
Block a user