thomascube
2011-07-17 03eb13f11cf7dd695be3aab95b4e39e510169a49
Small improvements and codestyle

2 files modified
4 ■■■■ changed files
program/include/rcube_contacts.php 2 ●●● patch | view | raw | blame | history
program/steps/mail/autocomplete.inc 2 ●●● patch | view | raw | blame | history
program/include/rcube_contacts.php
@@ -300,7 +300,7 @@
            }
        }
        foreach ($required as $col) {
        foreach (array_intersect($required, $this->table_cols) as $col) {
            $and_where[] = $this->db->quoteIdentifier($col).' <> '.$this->db->quote('');
        }
program/steps/mail/autocomplete.inc
@@ -37,7 +37,7 @@
    $OUTPUT->command('replace_group_recipients', $gid, join(', ', $members));
  }
}
else if ($book_types && $search = get_input_value('_search', RCUBE_INPUT_GPC, true)) {
else if ($book_types && ($search = get_input_value('_search', RCUBE_INPUT_GPC, true))) {
  $contacts = array();
  $books_num = count($book_types);