diff options
author | alecpl <alec@alec.pl> | 2009-02-19 18:00:27 +0000 |
---|---|---|
committer | alecpl <alec@alec.pl> | 2009-02-19 18:00:27 +0000 |
commit | 8a78a16155fb1df7142b9cfa573d318c940b0dae (patch) | |
tree | c06fa7d23100fc2e5da81ce69b93b7a6e5726300 | |
parent | ec603f7da6e0dcae398169efe03b52d199427d11 (diff) |
- fix r2301 (#1485745)
-rw-r--r-- | program/steps/mail/func.inc | 2 |
1 files changed, 1 insertions, 1 deletions
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); } |