Use wg8 instanciators.
This commit is contained in:
parent
f17fc5c7ad
commit
360acb5191
1 changed files with 1 additions and 1 deletions
|
|
@ -230,7 +230,7 @@ Get a WebGUI::Asset::Template object for the subscription template.
|
|||
sub getSubscriptionTemplate {
|
||||
my $self = shift;
|
||||
my $templateId = $self->subscriptionTemplateId;
|
||||
my $template = WebGUI::Asset::Template->new( $self->session, $templateId ); # This should throw if we don't
|
||||
my $template = WebGUI::Asset::Template->newById( $self->session, $templateId ); # This should throw if we don't
|
||||
return $template;
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue