From e19fafae04c6733a3c8ccddf9a6565ef2b40dce5 Mon Sep 17 00:00:00 2001 From: Aleksander Machniak Date: Tue, 24 Jul 2012 11:28:11 +0200 Subject: Prefer default addressbook also when checking for existence of MDN request recipient --- program/steps/mail/show.inc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'program/steps/mail/show.inc') 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; -- cgit v1.2.3