diff options
author | Thomas Bruederli <bruederli@kolabsys.com> | 2012-11-06 21:02:23 +0100 |
---|---|---|
committer | Thomas Bruederli <bruederli@kolabsys.com> | 2012-11-06 21:02:23 +0100 |
commit | a5c8786a34be237a3436b3c96d283462e76a5c3a (patch) | |
tree | eb9f75b84c95f8a46061f8ac5ba2f18267f347fc /program/include/rcube_addressbook.php | |
parent | f9a25bd418fb526f0744bbfb1f2c4ffc6e843d03 (diff) | |
parent | b1263ab253a83d16f444ffbf21836b7bbe389cb3 (diff) |
Merge branch 'release-0.7' of github.com:roundcube/roundcubemail into release-0.7
Diffstat (limited to 'program/include/rcube_addressbook.php')
-rw-r--r-- | program/include/rcube_addressbook.php | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/program/include/rcube_addressbook.php b/program/include/rcube_addressbook.php index f6de6d70e..9ebd37f0b 100644 --- a/program/include/rcube_addressbook.php +++ b/program/include/rcube_addressbook.php @@ -431,6 +431,11 @@ abstract class rcube_addressbook } } + // remove duplicates + if ($flat && !empty($out)) { + $out = array_unique($out); + } + return $out; } |