瀏覽代碼

Fix errors reported by Jens Bergmann

Morten Brix Pedersen 24 年之前
父節點
當前提交
aeb704f088
共有 1 個文件被更改,包括 1 次插入1 次删除
  1. 1 1
      modules/Pisg/Parser/Logfile.pm

+ 1 - 1
modules/Pisg/Parser/Logfile.pm

@@ -123,7 +123,7 @@ sub _parse_dir
         monocount  => 0,
         monocount  => 0,
         oldtime    => 24
         oldtime    => 24
     );
     );
-    if (defined $self->{cfg}->{logsuffix}) {
+    if ($self->{cfg}->{logsuffix} ne '') {
         my @temparray;
         my @temparray;
         my %months = (
         my %months = (
             'jan' => '0',
             'jan' => '0',