When using a download template, macros are always processed in the output. fixes bug #11242.

This commit is contained in:
Colin Kuskie 2009-11-16 17:03:38 -08:00
parent c8bda63587
commit 110a236fcd
2 changed files with 4 additions and 1 deletions

View file

@ -474,7 +474,9 @@ sub download {
}
elsif ($self->getValue("downloadType") eq "template") {
my $data = $self->_processQuery(1,0);
return $self->processTemplate($data,$self->get("downloadTemplateId"));
my $output = $self->processTemplate($data,$self->get("downloadTemplateId"));
WebGUI::Macro::process($self->session, \$output);
return $output;
}
else {
# I don't know what to do