mirror of
https://github.com/EGroupware/egroupware.git
synced 2024-12-26 16:48:49 +01:00
for account-selection method "selectbox", make sure everything in $selected gets an option, as for the other methods
This commit is contained in:
parent
cbf5203c8b
commit
1c52c64ba2
@ -179,6 +179,11 @@ class uiaccountsel
|
||||
'app' => $app,
|
||||
));
|
||||
}
|
||||
// make sure everything in $selected is also in $select, as in the other account-selection methods
|
||||
if ($selected && ($missing = array_diff($selected,$select)))
|
||||
{
|
||||
$select = array_merge($missing,$select);
|
||||
}
|
||||
break;
|
||||
}
|
||||
$already_selected = $users = $groups = array();
|
||||
|
Loading…
Reference in New Issue
Block a user