mirror of
https://github.com/EGroupware/egroupware.git
synced 2025-08-19 03:16:33 +02:00
quitening warning for mb-strpos, when attachment->cid is not set
This commit is contained in:
@@ -1058,7 +1058,7 @@
|
|||||||
$attachments = $this->getMessageAttachments($_uid, $_part);
|
$attachments = $this->getMessageAttachments($_uid, $_part);
|
||||||
foreach($attachments as $attachment) {
|
foreach($attachments as $attachment) {
|
||||||
#error_log(print_r($attachment,true));
|
#error_log(print_r($attachment,true));
|
||||||
if(strpos($attachment['cid'], $_cid) !== false || strpos($cid, $attachment['cid']) !== false) {
|
if(isset($attachment['cid']) && (strpos($attachment['cid'], $_cid) !== false || strpos($_cid, $attachment['cid']) !== false)) {
|
||||||
$partID = $attachment['partID'];
|
$partID = $attachment['partID'];
|
||||||
break;
|
break;
|
||||||
}
|
}
|
||||||
|
Reference in New Issue
Block a user