mirror of
https://github.com/EGroupware/egroupware.git
synced 2025-01-02 20:19:27 +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));
|
//error_log(__METHOD__.__LINE__.array2string($jsArray));
|
||||||
header('Content-Type: application/json; charset=utf-8');
|
header('Content-Type: application/json; charset=utf-8');
|
||||||
echo json_encode($results);
|
echo json_encode(array_values(array_unique($results, SORT_REGULAR)));
|
||||||
exit();
|
exit();
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user