Permalink
Browse files

Merge branch 'master' of github.com:roundcube/roundcubemail

  • Loading branch information...
2 parents 5f7ef93 + f368b04 commit 4712ecf55e339c98b995f24128196b665d7f687c @thomascube thomascube committed Oct 2, 2012
Showing with 5 additions and 0 deletions.
  1. +5 −0 program/include/rcube_addressbook.php
View
5 program/include/rcube_addressbook.php
@@ -434,6 +434,11 @@ function get_col_values($col, $data, $flat = false)
}
}
+ // remove duplicates
+ if ($flat && !empty($out)) {
+ $out = array_unique($out);
+ }
+
return $out;
}

0 comments on commit 4712ecf

Please sign in to comment.