Update Shop for new instanciators and for exception handling.

This commit is contained in:
Colin Kuskie 2010-03-03 21:07:38 -08:00
parent 03427eed10
commit ecc71d455d
6 changed files with 16 additions and 10 deletions

View file

@ -697,7 +697,7 @@ sub sendNotifications {
my $var = $transaction->getTransactionVars;
# render
my $template = WebGUI::Asset::Template->new( $session, $self->get("receiptEmailTemplateId") );
my $template = WebGUI::Asset::Template->newById( $session, $self->get("receiptEmailTemplateId") );
my $inbox = WebGUI::Inbox->new($session);
my $receipt = $template->process( $var );
WebGUI::Macro::process($session, \$receipt);