Open dgspurgin opened 6 years ago
vendor/oro/platform/src/Oro/Bundle/EmailBundle/Form/Model/Email.php
public function removeAttachment(EmailAttachment $attachment) { if ($this->attachments->contains($attachment)) { $this->attachments->remove($attachment); } }
remove() expect a collection key but a collection value is provide in current code.
internal issue ID - BAP-17462
Hi @dgspurgin,
Thank you for contribution, feel free to create pull request with the fix.
vendor/oro/platform/src/Oro/Bundle/EmailBundle/Form/Model/Email.php
remove() expect a collection key but a collection value is provide in current code.