summaryrefslogtreecommitdiff
path: root/program/steps/addressbook/search.inc
diff options
context:
space:
mode:
authoralecpl <alec@alec.pl>2011-06-05 07:42:45 +0000
committeralecpl <alec@alec.pl>2011-06-05 07:42:45 +0000
commit9382b6dfe1521bd5e7f7006ad9ba43315cc7d2e5 (patch)
tree667547be66108443379efcf0d251235854649b80 /program/steps/addressbook/search.inc
parentb0c70b3ca7127b9028e666f15e24261414d3caa0 (diff)
- Fix contacts import (#1487947)
Diffstat (limited to 'program/steps/addressbook/search.inc')
-rw-r--r--program/steps/addressbook/search.inc3
1 files changed, 2 insertions, 1 deletions
diff --git a/program/steps/addressbook/search.inc b/program/steps/addressbook/search.inc
index fff6bd66c..498e9b222 100644
--- a/program/steps/addressbook/search.inc
+++ b/program/steps/addressbook/search.inc
@@ -72,7 +72,8 @@ function rcmail_contact_search()
}
// search request ID
- $search_request = md5('addr'.implode($fields, ',')
+ $search_request = md5('addr'
+ .(is_array($fields) ? implode($fields, ',') : $fields)
.(is_array($search) ? implode($search, ',') : $search));
// reset page