diff options
author | Aleksander Machniak <alec@alec.pl> | 2013-05-01 09:46:29 +0200 |
---|---|---|
committer | Aleksander Machniak <alec@alec.pl> | 2013-05-01 09:47:23 +0200 |
commit | 62fe548e08c64b8ff9689b1b1330a0faf0f4b784 (patch) | |
tree | b1a37b09d6daceda37a786ec4746dbfdfe05c274 /program/steps/mail | |
parent | 54c6d6a9433061577a7e4cf79234c788d4eb88cf (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.inc | 2 |
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']); |