Skip to content
This repository has been archived by the owner on Jun 8, 2024. It is now read-only.

Commit

Permalink
Pass a cloned instance of template to Templatemail
Browse files Browse the repository at this point in the history
  • Loading branch information
shyim committed Mar 20, 2019
1 parent 8d1f9aa commit 1dcc559
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Components/TemplateMailFactory.php
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ public function factory(Container $container)
$container->load('MailTransport');

$stringCompiler = new \Shopware_Components_StringCompiler(
$container->get('Template')
clone $container->get('Template')
);
$mailer = new TemplateMail(
$container->get('theme_inheritance'),
Expand Down

0 comments on commit 1dcc559

Please sign in to comment.