Changeset a5be870 in github for program/include/rcube_contacts.php
- Timestamp:
- Jun 3, 2011 8:09:10 AM (2 years ago)
- Branches:
- master, HEAD, courier-fix, dev-browser-capabilities, pdo, release-0.6, release-0.7, release-0.8
- Children:
- b896b18
- Parents:
- e9a9f2f6
- File:
-
- 1 edited
-
program/include/rcube_contacts.php (modified) (3 diffs)
Legend:
- Unmodified
- Added
- Removed
-
program/include/rcube_contacts.php
re9a9f2f6 ra5be870 285 285 } 286 286 if (is_array($value)) 287 $post_search[$col] = $strict ? $val :mb_strtolower($val);287 $post_search[$col] = mb_strtolower($val); 288 288 } 289 289 } … … 332 332 $value = implode($value); 333 333 } 334 if (($strict && $value == $search) 335 || (!$strict && strpos(mb_strtolower($value), $search) !== false) 336 ) { 334 $value = mb_strtolower($value); 335 if (($strict && $value == $search) || (!$strict && strpos($value, $search) !== false)) { 337 336 $found++; 338 337 break; … … 350 349 $ids = $this->db->array2list($ids, 'integer'); 351 350 $where = 'c.' . $this->primary_key.' IN ('.$ids.')'; 351 // reset counter 352 352 unset($this->cache['count']); 353 354 // when we know we have an empty result 355 if ($ids == '0') { 356 $this->set_search_set($where); 357 return ($this->result = new rcube_result_set(0, 0)); 358 } 353 359 } 354 360
Note: See TracChangeset
for help on using the changeset viewer.
