Aleksander Machniak
2015-09-13 8716fca0d0248e89b8b2410acc6d405732bad6e8
Small improvements
2 files modified
4 ■■■■ changed files
program/steps/mail/func.inc 2 ●●● patch | view | raw | blame | history
program/steps/mail/show.inc 2 ●●● patch | view | raw | blame | history
program/steps/mail/func.inc
@@ -773,7 +773,7 @@
            // get default addressbook, like in addcontact.inc
            $CONTACTS = $RCMAIL->get_address_book(-1, true);
            if ($CONTACTS) {
            if ($CONTACTS && $message->sender['mailto']) {
                $result = $CONTACTS->search('email', $message->sender['mailto'], 1, false);
                if ($result->count) {
                    $message->set_safe(true);
program/steps/mail/show.inc
@@ -329,7 +329,7 @@
        $CONTACTS = $RCMAIL->get_address_book(-1, true);
        if (is_object($CONTACTS)) {
            $existing = $CONTACTS->search('email', $email, true, false);
            $existing = $CONTACTS->search('email', $email, 1, false);
            if ($existing->count) {
                return true;
            }