Skip to content

Commit bc95161

Browse files
committed
[Mime] Remove unused variable in Email::prepareParts
1 parent 4f06524 commit bc95161

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/Symfony/Component/Mime/Email.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -507,7 +507,7 @@ private function prepareParts(): ?array
507507
}
508508

509509
if ($name !== $part->getContentId()) {
510-
$html = str_replace('cid:'.$name, 'cid:'.$part->getContentId(), $html, $count);
510+
$html = str_replace('cid:'.$name, 'cid:'.$part->getContentId(), $html);
511511
}
512512
$relatedParts[$name] = $part;
513513
$part->setName($part->getContentId())->asInline();

0 commit comments

Comments
 (0)