diff --git a/at/log_parser.pl b/at/log_parser.pl index 1996daa1f..58a61f6f5 100755 --- a/at/log_parser.pl +++ b/at/log_parser.pl @@ -1,5 +1,8 @@ # log_parser.pl # Functions for parsing this module's logs +use strict; +use warnings; +our %text; do 'at-lib.pl'; @@ -7,7 +10,7 @@ do 'at-lib.pl'; # Converts logged information from this module into human-readable form sub parse_webmin_log { -local ($user, $script, $action, $type, $object, $p, $long) = @_; +my ($user, $script, $action, $type, $object, $p, $long) = @_; if ($type eq "job") { return &text('log_'.$action.'_job', "".&html_escape($object)."");