When using a download template, macros are always processed in the output. fixes bug #11242.
This commit is contained in:
parent
c8bda63587
commit
110a236fcd
2 changed files with 4 additions and 1 deletions
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue