summaryrefslogtreecommitdiff
path: root/program/steps
diff options
context:
space:
mode:
authoralecpl <alec@alec.pl>2009-02-19 18:00:27 +0000
committeralecpl <alec@alec.pl>2009-02-19 18:00:27 +0000
commit8a78a16155fb1df7142b9cfa573d318c940b0dae (patch)
treec06fa7d23100fc2e5da81ce69b93b7a6e5726300 /program/steps
parentec603f7da6e0dcae398169efe03b52d199427d11 (diff)
- fix r2301 (#1485745)
Diffstat (limited to 'program/steps')
-rw-r--r--program/steps/mail/func.inc2
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);
}