From 3fc456053e2331fbe3397ee2a80d5edf7ca1bfd2 Mon Sep 17 00:00:00 2001 From: Chris Cormack Date: Thu, 23 Apr 2015 11:20:42 +1200 Subject: [PATCH] Fixing a little syntax error that snuck through --- tools/viewlog.pl | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/tools/viewlog.pl b/tools/viewlog.pl index bc6ff5d3b8..3555612fbf 100755 --- a/tools/viewlog.pl +++ b/tools/viewlog.pl @@ -129,7 +129,7 @@ if ($do_it) { my ( $results, $modules, $actions ); if ( defined $actions[0] && $actions[0] ne '' ) { $actions = \@actions; } # match All means no limit if ( $modules[0] ne '' ) { $modules = \@modules; } # match All means no limit - $results = GetLogs( $datefrom, $dateto, $user, $modules, $action, $object, $info ); + $results = GetLogs( $datefrom, $dateto, $user, $modules, $actions, $object, $info ); @data = @$results; foreach my $result (@data) { @@ -188,7 +188,7 @@ if ($do_it) { dateto => $dateto, user => $user, object => $object, - action => \@action, + action => \@actions, info => $info, src => $src, ); -- 2.39.5