summaryrefslogtreecommitdiff
path: root/program/include/rcube_addressbook.php
diff options
context:
space:
mode:
authorThomas Bruederli <bruederli@kolabsys.com>2012-11-06 21:02:23 +0100
committerThomas Bruederli <bruederli@kolabsys.com>2012-11-06 21:02:23 +0100
commita5c8786a34be237a3436b3c96d283462e76a5c3a (patch)
treeeb9f75b84c95f8a46061f8ac5ba2f18267f347fc /program/include/rcube_addressbook.php
parentf9a25bd418fb526f0744bbfb1f2c4ffc6e843d03 (diff)
parentb1263ab253a83d16f444ffbf21836b7bbe389cb3 (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.php5
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;
}