Changeset d8d41658 in github for program/include/rcube_contacts.php
- Timestamp:
- Aug 9, 2008 4:20:59 PM (5 years ago)
- Branches:
- master, HEAD, courier-fix, dev-browser-capabilities, pdo, release-0.6, release-0.7, release-0.8
- Children:
- c86e940
- Parents:
- 06776305
- File:
-
- 1 edited
-
program/include/rcube_contacts.php (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
program/include/rcube_contacts.php
rf2b323e rd8d41658 197 197 { 198 198 $ids = !is_array($value) ? split(',', $value) : $value; 199 $add_where[] = $this->primary_key. " IN (".join(',', $ids).")";199 $add_where[] = $this->primary_key.' IN ('.join(',', $ids).')'; 200 200 } 201 201 else if ($strict) 202 $add_where[] = $this->db->quoteIdentifier($col). "=".$this->db->quote($value);202 $add_where[] = $this->db->quoteIdentifier($col).'='.$this->db->quote($value); 203 203 else 204 $add_where[] = $this->db-> quoteIdentifier($col)." LIKE ".$this->db->quote(strlen($value)>2 ? "%$value%" : "$value%");204 $add_where[] = $this->db->ilike($col, '%'.$value.'%'); 205 205 } 206 206
Note: See TracChangeset
for help on using the changeset viewer.
