summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authoralec <alec@208e9e7b-5314-0410-a742-e7e81cd9613c>2009-02-19 18:00:27 +0000
committeralec <alec@208e9e7b-5314-0410-a742-e7e81cd9613c>2009-02-19 18:00:27 +0000
commitadfc6768a31bd883ee5f00c556b81e83395252d7 (patch)
treec2a7ddc2511956902e77c8f76c2d71f597b30748
parent28a182dc6451049afc8d73db245954ebb6874850 (diff)
- fix r2301 (#1485745)
git-svn-id: https://svn.roundcube.net/trunk@2302 208e9e7b-5314-0410-a742-e7e81cd9613c
-rw-r--r--roundcubemail/program/steps/mail/func.inc2
1 files changed, 1 insertions, 1 deletions
diff --git a/roundcubemail/program/steps/mail/func.inc b/roundcubemail/program/steps/mail/func.inc
index 2e85a4097..e947a27c4 100644
--- a/roundcubemail/program/steps/mail/func.inc
+++ b/roundcubemail/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);
}