mirror of
https://github.com/EGroupware/egroupware.git
synced 2024-11-09 01:24:07 +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
255c08853b
commit
9755c81a5a
@ -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