summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authoralec <alec@208e9e7b-5314-0410-a742-e7e81cd9613c>2009-07-22 06:52:58 +0000
committeralec <alec@208e9e7b-5314-0410-a742-e7e81cd9613c>2009-07-22 06:52:58 +0000
commite45431bbfdbd7f5ee9a7776ddf7a9301fcc316c6 (patch)
tree433a448f8c15cb3eb97c350a7ca47fe85910233a
parent4927a3af1d3a1d579c1b7e0953cad46f2588f248 (diff)
- Fix autocomplete bugs when erasing the comma (#1485990)
git-svn-id: https://svn.roundcube.net/trunk@2781 208e9e7b-5314-0410-a742-e7e81cd9613c
-rw-r--r--roundcubemail/program/steps/mail/autocomplete.inc4
1 files changed, 2 insertions, 2 deletions
diff --git a/roundcubemail/program/steps/mail/autocomplete.inc b/roundcubemail/program/steps/mail/autocomplete.inc
index 5b89ff0f3..46915672d 100644
--- a/roundcubemail/program/steps/mail/autocomplete.inc
+++ b/roundcubemail/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
+?>