summaryrefslogtreecommitdiff
path: root/program/steps/mail
diff options
context:
space:
mode:
authorAleksander Machniak <alec@alec.pl>2013-05-01 09:46:29 +0200
committerAleksander Machniak <alec@alec.pl>2013-05-01 09:46:29 +0200
commitec433114236f9e1871ec5ff9d5d19de50ab236fd (patch)
tree3cd899ee3d3ac0b266604bea3bfad13b60765773 /program/steps/mail
parent40d419d994811bad3aab147eec3ddc54d0bad3b2 (diff)
Fix so addressbook_search_mode works also for group search (#1489079)
Diffstat (limited to 'program/steps/mail')
-rw-r--r--program/steps/mail/autocomplete.inc2
1 files changed, 1 insertions, 1 deletions
diff --git a/program/steps/mail/autocomplete.inc b/program/steps/mail/autocomplete.inc
index 55579814c..f9e8d71a4 100644
--- a/program/steps/mail/autocomplete.inc
+++ b/program/steps/mail/autocomplete.inc
@@ -102,7 +102,7 @@ if (!empty($book_types) && strlen($search)) {
// also list matching contact groups
if ($abook->groups && count($contacts) < $MAXNUM) {
- foreach ($abook->list_groups($search) as $group) {
+ foreach ($abook->list_groups($search, $mode) as $group) {
$abook->reset();
$abook->set_group($group['ID']);
$group_prop = $abook->get_group($group['ID']);