summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAleksander Machniak <alec@alec.pl>2012-07-24 11:28:11 +0200
committerAleksander Machniak <alec@alec.pl>2012-07-24 11:28:11 +0200
commite19fafae04c6733a3c8ccddf9a6565ef2b40dce5 (patch)
tree6a935384ea1090db277636039c8590458198f620
parent23856c9d4ecec38ae530adf1996b00968dbbfb17 (diff)
Prefer default addressbook also when checking for existence of MDN request recipient
-rw-r--r--program/steps/mail/show.inc2
1 files changed, 1 insertions, 1 deletions
diff --git a/program/steps/mail/show.inc b/program/steps/mail/show.inc
index 70c083353..9f0f7ba30 100644
--- a/program/steps/mail/show.inc
+++ b/program/steps/mail/show.inc
@@ -257,7 +257,7 @@ function rcmail_contact_exists($email)
if ($email) {
// @TODO: search in all address books?
- $CONTACTS = $RCMAIL->get_address_book(null, true);
+ $CONTACTS = $RCMAIL->get_address_book(-1, true);
$existing = $CONTACTS->search('email', $email, true, false);
if ($existing->count)
return true;