diff options
author | alecpl <alec@alec.pl> | 2011-11-11 15:04:45 +0000 |
---|---|---|
committer | alecpl <alec@alec.pl> | 2011-11-11 15:04:45 +0000 |
commit | ecfaed571b2c38f4bcc2b6a0fa39fba15a5126ce (patch) | |
tree | 2a19876b7daee9b036fbab5cc7317402b2dd0f57 /program/steps/addressbook/search.inc | |
parent | c82bf6689f47073342f4c42502f75bcaf17e6130 (diff) |
- Apply fixes fom trunk up to r5414
Diffstat (limited to 'program/steps/addressbook/search.inc')
-rw-r--r-- | program/steps/addressbook/search.inc | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/program/steps/addressbook/search.inc b/program/steps/addressbook/search.inc index ea9824727..643cc60a8 100644 --- a/program/steps/addressbook/search.inc +++ b/program/steps/addressbook/search.inc @@ -137,6 +137,9 @@ function rcmail_contact_search() } } + // Values matching mode + $mode = (int) $RCMAIL->config->get('addressbook_search_mode'); + // get sources list $sources = $RCMAIL->get_address_sources(); $search_set = array(); @@ -168,7 +171,7 @@ function rcmail_contact_search() $source->set_pagesize(9999); // get contacts count - $result = $source->search($fields, $search, false, false); + $result = $source->search($fields, $search, $mode, false); if (!$result->count) { continue; |