summaryrefslogtreecommitdiff
path: root/program/steps/mail
diff options
context:
space:
mode:
authorThomas <tb@woodcrest.local>2013-10-09 12:02:52 +0200
committerThomas <tb@woodcrest.local>2013-10-09 12:02:52 +0200
commitd016dcc6f6a3daf8c19e2ececd3c676cd274381a (patch)
treecc9c56851fd81831a3900d74e6477824f7f22f46 /program/steps/mail
parent8c0ee424af0e31330d07790a47cd616439c51536 (diff)
Refactor multi-threaded autocomple contact searching to make it available for other purposes, too
Diffstat (limited to 'program/steps/mail')
-rw-r--r--program/steps/mail/autocomplete.inc4
1 files changed, 2 insertions, 2 deletions
diff --git a/program/steps/mail/autocomplete.inc b/program/steps/mail/autocomplete.inc
index f9e8d71a4..c34133a28 100644
--- a/program/steps/mail/autocomplete.inc
+++ b/program/steps/mail/autocomplete.inc
@@ -47,7 +47,7 @@ $mode = (int) $RCMAIL->config->get('addressbook_search_mode');
$single = (bool) $RCMAIL->config->get('autocomplete_single');
$search = get_input_value('_search', RCUBE_INPUT_GPC, true);
$source = get_input_value('_source', RCUBE_INPUT_GPC);
-$sid = get_input_value('_id', RCUBE_INPUT_GPC);
+$reqid = get_input_value('_reqid', RCUBE_INPUT_GPC);
if (strlen($source))
$book_types = array($source);
@@ -141,5 +141,5 @@ if (!empty($book_types) && strlen($search)) {
}
}
-$OUTPUT->command('ksearch_query_results', $contacts, $search, $sid);
+$OUTPUT->command('ksearch_query_results', $contacts, $search, $reqid);
$OUTPUT->send();