alecpl
2009-07-22 92f522d8975927c23675f5ec9cf87e01eb229978
- Fix autocomplete bugs when erasing the comma (#1485990)


1 files modified
4 ■■■■ changed files
program/steps/mail/autocomplete.inc 4 ●●●● patch | view | raw | blame | history
program/steps/mail/autocomplete.inc
@@ -23,7 +23,7 @@
$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 @@
$OUTPUT->command('ksearch_query_results', $contacts, $search);
$OUTPUT->send();
?>
?>