summaryrefslogtreecommitdiff
path: root/roundcubemail
diff options
context:
space:
mode:
authoralec <alec@208e9e7b-5314-0410-a742-e7e81cd9613c>2011-11-10 14:02:20 +0000
committeralec <alec@208e9e7b-5314-0410-a742-e7e81cd9613c>2011-11-10 14:02:20 +0000
commit20f3c3ce7c8f98f2b5d29f2599ff5674ea32c8b2 (patch)
tree8fe55b618bc76ab58894c375a6cbfe86845c5bc5 /roundcubemail
parente8cc92fa162006b331c0b8532a707709183f2efc (diff)
- Fix handling of type separator in get_col_values()
git-svn-id: https://svn.roundcube.net/trunk@5411 208e9e7b-5314-0410-a742-e7e81cd9613c
Diffstat (limited to 'roundcubemail')
-rw-r--r--roundcubemail/program/include/rcube_addressbook.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/roundcubemail/program/include/rcube_addressbook.php b/roundcubemail/program/include/rcube_addressbook.php
index 2b97dea09..5f17f4a8a 100644
--- a/roundcubemail/program/include/rcube_addressbook.php
+++ b/roundcubemail/program/include/rcube_addressbook.php
@@ -403,7 +403,7 @@ abstract class rcube_addressbook
{
$out = array();
foreach ($data as $c => $values) {
- if (strpos($c, $col) === 0) {
+ if ($c === $col || strpos($c, $col.':') === 0) {
if ($flat) {
$out = array_merge($out, (array)$values);
}