added default template

This commit is contained in:
Bart Jol 2009-10-27 12:25:11 +01:00 committed by Graham Knop
parent f03a030f35
commit af2b09e871
2 changed files with 1 additions and 1 deletions

View file

@ -42,7 +42,7 @@ This macro takes a templateId to show the links
#-------------------------------------------------------------------
sub process {
my $session = shift;
my $templateId = shift;
my $templateId = shift || "_aE16Rr1-bXBf8SIaLZjCg";
my $template = WebGUI::Asset::Template->new($session, $templateId);
return "Could not instanciate template with id [$templateId]" unless $template;
my $i18n = WebGUI::International->new($session);