[Svn] r2302 - trunk/roundcubemail/program/steps/mail

trac at roundcube.net trac at roundcube.net
Thu Feb 19 19:00:27 CET 2009


Author: alec
Date: 2009-02-19 12:00:27 -0600 (Thu, 19 Feb 2009)
New Revision: 2302

Modified:
   trunk/roundcubemail/program/steps/mail/func.inc
Log:
- fix r2301 (#1485745)


Modified: trunk/roundcubemail/program/steps/mail/func.inc
===================================================================
--- trunk/roundcubemail/program/steps/mail/func.inc	2009-02-18 19:15:36 UTC (rev 2301)
+++ trunk/roundcubemail/program/steps/mail/func.inc	2009-02-19 18:00:27 UTC (rev 2302)
@@ -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);
         }

_______________________________________________
http://lists.roundcube.net/mailman/listinfo/svn



More information about the Svn mailing list