diff --git a/mail/inc/class.mail_ui.inc.php b/mail/inc/class.mail_ui.inc.php index 44add9eb43..4fcf43bc3c 100644 --- a/mail/inc/class.mail_ui.inc.php +++ b/mail/inc/class.mail_ui.inc.php @@ -3585,7 +3585,7 @@ $filter['before']= date("d-M-Y", $cutoffdate2); { if (!isset($cache[$imageURL])) { - if ($_type !="background") + if ($_type !="background" && !$imageURL) { $bo = Mail::getInstance(false, mail_ui::$icServerID); $attachment = $bo->getAttachmentByCID($_uid, $CID, $_partID);