- Fix handling of type separator in get_col_values()

pull/1/head
alecpl 13 years ago
parent 55a8a8cc25
commit bed577e414

@ -403,7 +403,7 @@ abstract class rcube_addressbook
{ {
$out = array(); $out = array();
foreach ($data as $c => $values) { foreach ($data as $c => $values) {
if (strpos($c, $col) === 0) { if ($c === $col || strpos($c, $col.':') === 0) {
if ($flat) { if ($flat) {
$out = array_merge($out, (array)$values); $out = array_merge($out, (array)$values);
} }

Loading…
Cancel
Save