Small improvements and codestyle

release-0.6
thomascube 14 years ago
parent 4d9f620292
commit 03eb13f11c

@ -300,7 +300,7 @@ class rcube_contacts extends rcube_addressbook
}
}
foreach ($required as $col) {
foreach (array_intersect($required, $this->table_cols) as $col) {
$and_where[] = $this->db->quoteIdentifier($col).' <> '.$this->db->quote('');
}

@ -37,7 +37,7 @@ if ($RCMAIL->action == 'group-expand') {
$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);

Loading…
Cancel
Save