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
|
|
@ -19,6 +19,7 @@
|
||||||
- added USPS International driver.
|
- added USPS International driver.
|
||||||
- added #10727: language choice during site adding
|
- added #10727: language choice during site adding
|
||||||
- added file globbing to preload.exclude
|
- added file globbing to preload.exclude
|
||||||
|
- fixed #11242: Macros not executing in Download Templates
|
||||||
|
|
||||||
7.8.4
|
7.8.4
|
||||||
- Fixed a compatibility problem between WRE and new Spectre code.
|
- Fixed a compatibility problem between WRE and new Spectre code.
|
||||||
|
|
|
||||||
|
|
@ -474,7 +474,9 @@ sub download {
|
||||||
}
|
}
|
||||||
elsif ($self->getValue("downloadType") eq "template") {
|
elsif ($self->getValue("downloadType") eq "template") {
|
||||||
my $data = $self->_processQuery(1,0);
|
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 {
|
else {
|
||||||
# I don't know what to do
|
# I don't know what to do
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue