fixed a corner case where template variables could overlap.
This commit is contained in:
parent
b2f641e723
commit
95300fdb17
1 changed files with 4 additions and 4 deletions
|
|
@ -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);
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue