From bed577e41478f39862ec04016aed8d7aaaac7d1e Mon Sep 17 00:00:00 2001 From: alecpl <alec@alec.pl> Date: Thu, 10 Nov 2011 09:02:20 -0500 Subject: [PATCH] - Fix handling of type separator in get_col_values() --- program/include/rcube_addressbook.php | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-) diff --git a/program/include/rcube_addressbook.php b/program/include/rcube_addressbook.php index 2b97dea..5f17f4a 100644 --- a/program/include/rcube_addressbook.php +++ b/program/include/rcube_addressbook.php @@ -403,7 +403,7 @@ { $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); } -- Gitblit v1.9.1