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 96cac2d1e3..634092fbef 100644
--- a/koha-tmpl/intranet-tmpl/prog/en/modules/tools/viewlog.tt
+++ b/koha-tmpl/intranet-tmpl/prog/en/modules/tools/viewlog.tt
@@ -67,24 +67,41 @@
-
-
-
-
-
-
-
-
+
+
+
+
+
+
+
+
diff --git a/tools/viewlog.pl b/tools/viewlog.pl
index 3555612fbf..23eddc7ce2 100755
--- a/tools/viewlog.pl
+++ b/tools/viewlog.pl
@@ -191,13 +191,9 @@ if ($do_it) {
action => \@actions,
info => $info,
src => $src,
+ modules => \@modules,
);
- # Used modules
- foreach my $module (@modules) {
- $template->param( $module => 1 );
- }
-
output_html_with_http_headers $input, $cookie, $template->output;
}
else {