mirror of
https://github.com/EGroupware/egroupware.git
synced 2024-11-25 01:13:25 +01:00
quitening warning for mb-strpos, when attachment->cid is not set
This commit is contained in:
parent
7de80b4322
commit
533f68a5ca
@ -1058,7 +1058,7 @@
|
||||
$attachments = $this->getMessageAttachments($_uid, $_part);
|
||||
foreach($attachments as $attachment) {
|
||||
#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'];
|
||||
break;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user