From 360acb5191d181d0e16f242b9e3c0caaa76c7ed2 Mon Sep 17 00:00:00 2001 From: Colin Kuskie Date: Thu, 4 Mar 2010 08:50:57 -0800 Subject: [PATCH] Use wg8 instanciators. --- lib/WebGUI/Role/Asset/Subscribable.pm | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/WebGUI/Role/Asset/Subscribable.pm b/lib/WebGUI/Role/Asset/Subscribable.pm index 085311648..ec2df2e9b 100644 --- a/lib/WebGUI/Role/Asset/Subscribable.pm +++ b/lib/WebGUI/Role/Asset/Subscribable.pm @@ -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; }