From a239c371d33ceae1e6f95829d86542f2d58e6993 Mon Sep 17 00:00:00 2001 From: Jonathan Druart Date: Thu, 16 Apr 2015 16:30:12 +0200 Subject: [PATCH] Bug 6911: (follow-up) Reintroduce few lines to avoid regression If you come from the biblio detail page and click on "modification log", you should get the circ menu, not the tools menu. Test plan: 1/ Go on a biblio detail page 2/ Click on the "modification log" tab 3/ You should get the modification log page with the circ menu. --- tools/viewlog.pl | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/tools/viewlog.pl b/tools/viewlog.pl index 9b81d50..c867226 100755 --- a/tools/viewlog.pl +++ b/tools/viewlog.pl @@ -194,6 +194,11 @@ if ($do_it) { actions => \@actions, ); + # Used modules + foreach my $module (@modules) { + $template->param( $module => 1 ); + } + output_html_with_http_headers $input, $cookie, $template->output; } else { -- 2.1.0