summaryrefslogtreecommitdiff
path: root/program/include
diff options
context:
space:
mode:
authoralecpl <alec@alec.pl>2011-11-10 14:02:20 +0000
committeralecpl <alec@alec.pl>2011-11-10 14:02:20 +0000
commitbed577e41478f39862ec04016aed8d7aaaac7d1e (patch)
treef440c741bd3dff73d0814a5153763a63aed853cf /program/include
parent55a8a8cc2524b0c0c72f1cf01933e6a6c5afd0aa (diff)
- Fix handling of type separator in get_col_values()
Diffstat (limited to 'program/include')
-rw-r--r--program/include/rcube_addressbook.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/program/include/rcube_addressbook.php b/program/include/rcube_addressbook.php
index 2b97dea09..5f17f4a8a 100644
--- a/program/include/rcube_addressbook.php
+++ b/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);
}