- Fix autocomplete bugs when erasing the comma (#1485990)

release-0.6
alecpl 15 years ago
parent a0c4cbe8ec
commit 92f522d897

@ -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();
?>
?>

Loading…
Cancel
Save