fixed a corner case where template variables could overlap.

This commit is contained in:
Frank Dillon 2008-11-17 03:58:31 +00:00
parent b2f641e723
commit 95300fdb17

View file

@ -259,13 +259,13 @@ sub displayContent {
$hash{'url' } = $instance->getUrl("module=$identifier",1);
$hash{'isActive' } = "true" if($identifier eq $self->module);
WebGUI::Macro::process(\$hash{'title'});
push(@pluggins,\%hash);
#Append common display variables to the main template
$instance->appendCommonVars($var);
push(@pluggins,\%hash);
}
$var->{'account_loop'} = \@pluggins;
#Append common display variables to the layout template
$self->appendCommonVars($var);
#Process the layout template
my $output = $self->processTemplate($var,$self->getLayoutTemplateId);