mirror of
https://github.com/EGroupware/egroupware.git
synced 2024-12-27 00:58:55 +01:00
Don't send duplicates in result
Causes issues in the select where the option cannot be removed once selected
This commit is contained in:
parent
3673b47e5f
commit
c15607d71a
@ -3751,7 +3751,7 @@ class mail_compose
|
||||
|
||||
//error_log(__METHOD__.__LINE__.array2string($jsArray));
|
||||
header('Content-Type: application/json; charset=utf-8');
|
||||
echo json_encode($results);
|
||||
echo json_encode(array_values(array_unique($results, SORT_REGULAR)));
|
||||
exit();
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user