Bug 39298: (QA follow-up) Add missing html filter

Signed-off-by: Julian Maurice <julian.maurice@biblibre.com>
Signed-off-by: Katrin Fischer <katrin.fischer@bsz-bw.de>
(cherry picked from commit 45f8762c40)
Signed-off-by: Fridolin Somers <fridolin.somers@biblibre.com>
This commit is contained in:
Julian Maurice 2025-04-02 15:31:51 +02:00 committed by Fridolin Somers
parent 6b1d2440d8
commit 9e1b923873
No known key found for this signature in database
GPG Key ID: 9A8E73E2A8B96537
2 changed files with 2 additions and 2 deletions

View File

@ -896,7 +896,7 @@
<fieldset class="action">
<input type="hidden" name="op" value="run" />
[% IF ( template_id ) %]
<input type="hidden" name="template" value="[% template_id %]" />
<input type="hidden" name="template" value="[% template_id | html %]" />
[% END %]
<button type="submit" class="btn btn-primary">Run the report</button>
</fieldset>

View File

@ -956,7 +956,7 @@ if ($op eq 'run'){
'auth_val_errors' => \@authval_errors,
'enter_params' => 1,
'id' => $report_id,
'template_id' => $template_id,
'template_id' => $template_id,
);
} else {
my ($sql,$header_types) = $report->prep_report( \@param_names, \@sql_params );