program/steps/mail/show.inc
@@ -255,10 +255,14 @@ if ($email) { // @TODO: search in all address books? $CONTACTS = $RCMAIL->get_address_book(-1, true); if (is_object($CONTACTS)) { $existing = $CONTACTS->search('email', $email, true, false); if ($existing->count) if ($existing->count) { return true; } } } return false; }