Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

Commit ae38ed8

Browse filesBrowse files
committed
bug #31458 [TwigBundle] Fix Mailer integration in Twig (fabpot)
This PR was merged into the 4.3 branch. Discussion ---------- [TwigBundle] Fix Mailer integration in Twig | Q | A | ------------- | --- | Branch? | 4.3 | Bug fix? | yes | New feature? | no <!-- please update src/**/CHANGELOG.md files --> | BC breaks? | no <!-- see https://symfony.com/bc --> | Deprecations? | no <!-- please update UPGRADE-*.md and src/**/CHANGELOG.md files --> | Tests pass? | yes <!-- please add some, will be required by reviewers --> | Fixed tickets | #31449 | License | MIT | Doc PR | n/a <!-- Replace this notice by a short README for your feature/bugfix. This will help people understand your PR and can be used as a start for the documentation. Additionally (see https://symfony.com/roadmap): - Bug fixes must be submitted against the lowest maintained branch where they apply (lowest branches are regularly merged to upper ones so they get the fixes too). - Features and deprecations must be submitted against the master branch. --> Commits ------- 53b68af [TwigBundle] fixed Mailer integration in Twig
2 parents e75ed98 + 53b68af commit ae38ed8
Copy full SHA for ae38ed8

File tree

1 file changed

+2
-1
lines changed
Filter options
  • src/Symfony/Bundle/TwigBundle/Resources/config

1 file changed

+2
-1
lines changed

‎src/Symfony/Bundle/TwigBundle/Resources/config/mailer.xml

Copy file name to clipboardExpand all lines: src/Symfony/Bundle/TwigBundle/Resources/config/mailer.xml
+2-1Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,8 +6,9 @@
66

77
<services>
88
<service id="twig.mailer.message_listener" class="Symfony\Component\Mailer\EventListener\MessageListener">
9-
<argument />
9+
<argument>null</argument>
1010
<argument type="service" id="twig.mime_body_renderer" />
11+
<tag name="kernel.event_subscriber"/>
1112
</service>
1213

1314
<service id="twig.mime_body_renderer" class="Symfony\Bridge\Twig\Mime\BodyRenderer">

0 commit comments

Comments
0 (0)
Morty Proxy This is a proxified and sanitized view of the page, visit original site.