summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authoralecpl <alec@alec.pl>2009-07-22 06:52:58 +0000
committeralecpl <alec@alec.pl>2009-07-22 06:52:58 +0000
commit92f522d8975927c23675f5ec9cf87e01eb229978 (patch)
tree0ea8dd890c695a856a0e9bc9d91d3cffd6c08d30
parenta0c4cbe8ece6397950eb2b14bc239ce389c7b0a1 (diff)
- Fix autocomplete bugs when erasing the comma (#1485990)
-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 5b89ff0f3..46915672d 100644
--- a/program/steps/mail/autocomplete.inc
+++ b/program/steps/mail/autocomplete.inc
@@ -23,7 +23,7 @@ $MAXNUM = 15;
$contacts = array();
$book_types = (array) $RCMAIL->config->get('autocomplete_addressbooks', 'sql');
-if ($book_types && $search = get_input_value('_search', RCUBE_INPUT_POST)) {
+if ($book_types && $search = get_input_value('_search', RCUBE_INPUT_POST, true)) {
foreach ($book_types as $id) {
$abook = $RCMAIL->get_address_book($id);
@@ -44,4 +44,4 @@ if ($book_types && $search = get_input_value('_search', RCUBE_INPUT_POST)) {
$OUTPUT->command('ksearch_query_results', $contacts, $search);
$OUTPUT->send();
-?> \ No newline at end of file
+?>