Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit 0058caf

Browse files
authored
Removed useless line
1 parent be6bad8 commit 0058caf

File tree

1 file changed

+0
-1
lines changed

1 file changed

+0
-1
lines changed

src/Symfony/Component/Mime/Email.php

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -486,7 +486,6 @@ private function prepareParts(): ?array
486486
$inlineParts[$name] = $part = $this->createDataPart($attachment);
487487
$html = str_replace('cid:'.$name, 'cid:'.$part->getContentId(), $html);
488488
$part->setName($part->getContentId());
489-
$attachment['name'] = $part->getContentId();
490489
continue 2;
491490
}
492491
$attachmentParts[] = $this->createDataPart($attachment);

0 commit comments

Comments
 (0)