Changeset 62e2254 in github


Ignore:
Timestamp:
Jun 3, 2011 9:31:55 AM (2 years ago)
Author:
alecpl <alec@…>
Branches:
master, HEAD, courier-fix, dev-browser-capabilities, pdo, release-0.6, release-0.7, release-0.8
Children:
b0c70b3
Parents:
5148d38
Message:
  • Fix regexp matching field names
File:
1 edited

Legend:

Unmodified
Added
Removed
  • program/include/rcube_contacts.php

    r5148d38 r62e2254  
    307307            $ids = array(0); 
    308308            // build key name regexp 
    309             $regexp = '/^(' . implode(array_keys($post_search), '|') . ')(:.*?)$/'; 
     309            $regexp = '/^(' . implode(array_keys($post_search), '|') . ')(?:.*)$/'; 
    310310            // use initial WHERE clause, to limit records number if possible 
    311311            if (!empty($where)) 
Note: See TracChangeset for help on using the changeset viewer.