Change the core to use newById instead of new.
This commit is contained in:
parent
04ee8f0949
commit
0bef2b2839
4 changed files with 4 additions and 4 deletions
|
|
@ -633,7 +633,7 @@ sub sendNotifications {
|
|||
my $var = $self->getTransactionVars;
|
||||
|
||||
# render
|
||||
my $template = WebGUI::Asset::Template->new( $session, $session->setting->get("shopReceiptEmailTemplateId") );
|
||||
my $template = WebGUI::Asset::Template->newById( $session, $session->setting->get("shopReceiptEmailTemplateId") );
|
||||
my $inbox = WebGUI::Inbox->new($session);
|
||||
my $receipt = $template->process( $var );
|
||||
WebGUI::Macro::process($session, \$receipt);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue