Changeset 3576 in subversion for trunk/roundcubemail/program/include/rcube_contacts.php
- Timestamp:
- Apr 29, 2010 7:15:02 AM (3 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/roundcubemail/program/include/rcube_contacts.php
r3562 r3576 227 227 if ($col == 'ID' || $col == $this->primary_key) { 228 228 $ids = !is_array($value) ? explode(',', $value) : $value; 229 $ids = join(',', array_map(array($this->db, 'quote'), $ids));229 $ids = $this->db->array2list($ids, 'integer'); 230 230 $add_where[] = 'c.' . $this->primary_key.' IN ('.$ids.')'; 231 231 } … … 438 438 $ids = explode(',', $ids); 439 439 440 $ids = join(',', array_map(array($this->db, 'quote'), $ids));440 $ids = $this->db->array2list($ids, 'integer'); 441 441 442 442 // flag record as deleted … … 590 590 $ids = explode(',', $ids); 591 591 592 $ids = join(',', array_map(array($this->db, 'quote'), $ids));593 592 $ids = $this->db->array2list($ids, 'integer'); 593 594 594 $sql_result = $this->db->query( 595 595 "DELETE FROM ".get_table_name('contactgroupmembers').
Note: See TracChangeset
for help on using the changeset viewer.
