From 8a78a16155fb1df7142b9cfa573d318c940b0dae Mon Sep 17 00:00:00 2001 From: alecpl Date: Thu, 19 Feb 2009 18:00:27 +0000 Subject: - fix r2301 (#1485745) --- program/steps/mail/func.inc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/program/steps/mail/func.inc b/program/steps/mail/func.inc index 2e85a4097..e947a27c4 100644 --- a/program/steps/mail/func.inc +++ b/program/steps/mail/func.inc @@ -626,7 +626,7 @@ function rcmail_check_safe(&$message) { switch($show_images) { case '1': // known senders only - $CONTACTS = new rcube_contacts($DB, $_SESSION['user_id']); + $CONTACTS = new rcube_contacts($RCMAIL->db, $_SESSION['user_id']); if ($CONTACTS->search('email', $message->sender['mailto'], true, false)->count) { $message->set_safe(true); } -- cgit v1.2.3