summaryrefslogtreecommitdiff
path: root/program/steps/mail
diff options
context:
space:
mode:
authorthomascube <thomas@roundcube.net>2010-04-07 15:53:48 +0000
committerthomascube <thomas@roundcube.net>2010-04-07 15:53:48 +0000
commit53d62616190ae4ffee1b0d6eae543fda8d85cdd9 (patch)
treee38489765870ae32138c82e5e45181fdd1f03795 /program/steps/mail
parentf4f4522b231b129178a78daf8fbaa9f5c744fd19 (diff)
Fix group expansion which was lost in r3457 + apply patch for autocompletion timeouts from #1486059
Diffstat (limited to 'program/steps/mail')
-rw-r--r--program/steps/mail/autocomplete.inc1
1 files changed, 1 insertions, 0 deletions
diff --git a/program/steps/mail/autocomplete.inc b/program/steps/mail/autocomplete.inc
index 724f14af5..b761f5398 100644
--- a/program/steps/mail/autocomplete.inc
+++ b/program/steps/mail/autocomplete.inc
@@ -26,6 +26,7 @@ if ($RCMAIL->action == 'group-expand') {
$abook = $RCMAIL->get_address_book(get_input_value('_source', RCUBE_INPUT_GPC));
if ($gid = get_input_value('_gid', RCUBE_INPUT_GPC)) {
$members = array();
+ $abook->set_group($gid);
$abook->set_pagesize(1000); // TODO: limit number of group members by config
$result = $abook->list_records(array('email','name'));
while ($result && ($sql_arr = $result->iterate()))