Remove duplicates from get_col_values() result in flat mode

release-0.7
Aleksander Machniak 12 years ago
parent 76d3b47145
commit b39e8e4174

@ -431,6 +431,11 @@ abstract class rcube_addressbook
}
}
// remove duplicates
if ($flat && !empty($out)) {
$out = array_unique($out);
}
return $out;
}

Loading…
Cancel
Save