summaryrefslogtreecommitdiff
path: root/roundcubemail/program/include/rcube_contacts.php
diff options
context:
space:
mode:
authoralec <alec@208e9e7b-5314-0410-a742-e7e81cd9613c>2011-06-03 13:31:55 +0000
committeralec <alec@208e9e7b-5314-0410-a742-e7e81cd9613c>2011-06-03 13:31:55 +0000
commit0cb29804cfcb357358e81cbb6a4d32845842dbb9 (patch)
tree0ae1cec3c98d9e8a2e87a92b4365468196b6ad82 /roundcubemail/program/include/rcube_contacts.php
parent7acb72df2b8b28c054d836bf14804130637e39f6 (diff)
- Fix regexp matching field names
git-svn-id: https://svn.roundcube.net/trunk@4839 208e9e7b-5314-0410-a742-e7e81cd9613c
Diffstat (limited to 'roundcubemail/program/include/rcube_contacts.php')
-rw-r--r--roundcubemail/program/include/rcube_contacts.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/roundcubemail/program/include/rcube_contacts.php b/roundcubemail/program/include/rcube_contacts.php
index 38a1f3742..b9380e45f 100644
--- a/roundcubemail/program/include/rcube_contacts.php
+++ b/roundcubemail/program/include/rcube_contacts.php
@@ -306,7 +306,7 @@ class rcube_contacts extends rcube_addressbook
if (!empty($post_search)) {
$ids = array(0);
// build key name regexp
- $regexp = '/^(' . implode(array_keys($post_search), '|') . ')(:.*?)$/';
+ $regexp = '/^(' . implode(array_keys($post_search), '|') . ')(?:.*)$/';
// use initial WHERE clause, to limit records number if possible
if (!empty($where))
$this->set_search_set($where);