Skip to content
Snippets Groups Projects
Commit eb7e2d7d authored by Arthur Schiwon's avatar Arthur Schiwon
Browse files

Sharing: even if a user has more groups in common, he should appear only once in the dropdown list

parent fae1ce4e
Branches
No related tags found
No related merge requests found
......@@ -23,6 +23,7 @@ foreach ($userGroups as $group) {
$groups[] = "<option value='".$group."(group)'>".$group." (group) </option>";
}
}
$users = array_unique($users);
$users[] = "</optgroup>";
$groups[] = "</optgroup>";
$users = array_merge($users, $groups);
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment