From 8a78a16155fb1df7142b9cfa573d318c940b0dae Mon Sep 17 00:00:00 2001
From: alecpl <alec@alec.pl>
Date: Thu, 19 Feb 2009 13:00:27 -0500
Subject: [PATCH] - fix r2301 (#1485745)
---
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 2e85a40..e947a27 100644
--- a/program/steps/mail/func.inc
+++ b/program/steps/mail/func.inc
@@ -626,7 +626,7 @@
{
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);
}
--
Gitblit v1.9.1