From aa7a8569a43a62118d13b82457e0e32dac68ba09 Mon Sep 17 00:00:00 2001 From: Marcel de Rooy Date: Fri, 9 Feb 2024 08:45:06 +0000 Subject: [PATCH] Bug 34478: Changes for tools/viewlog (no POST, just viewing) Signed-off-by: Jonathan Druart --- koha-tmpl/intranet-tmpl/prog/en/modules/tools/viewlog.tt | 3 +-- tools/viewlog.pl | 2 +- 2 files changed, 2 insertions(+), 3 deletions(-) diff --git a/koha-tmpl/intranet-tmpl/prog/en/modules/tools/viewlog.tt b/koha-tmpl/intranet-tmpl/prog/en/modules/tools/viewlog.tt index e4c003b9e2..9db03ad1e9 100644 --- a/koha-tmpl/intranet-tmpl/prog/en/modules/tools/viewlog.tt +++ b/koha-tmpl/intranet-tmpl/prog/en/modules/tools/viewlog.tt @@ -198,8 +198,7 @@ [% INCLUDE 'messages.inc' %]

Log viewer

-
- [% INCLUDE 'csrf-token.inc' %] + [% IF ( do_it ) %] [% END %] diff --git a/tools/viewlog.pl b/tools/viewlog.pl index 9db4e430ed..0090dd5a41 100755 --- a/tools/viewlog.pl +++ b/tools/viewlog.pl @@ -44,7 +44,7 @@ plugin that shows stats my $input = CGI->new; -my $do_it = $input->param('do_it'); +my $do_it = $input->param('do_it'); # no op: just viewing, downloading etc my @modules = $input->multi_param("modules"); my $user = $input->param("user") // ''; my @actions = $input->multi_param("actions"); -- 2.39.5