Fix Perl warning
authorPeter Eisentraut <peter_e@gmx.net>
Thu, 28 Jun 2012 11:46:13 +0000 (14:46 +0300)
committerPeter Eisentraut <peter_e@gmx.net>
Thu, 28 Jun 2012 11:46:13 +0000 (14:46 +0300)
wwwtools/nls-status-table

index 99cdf3cdc8ff154a932aa1ecd9281b6dda7e8bd8..67fe522a844f953a1b9165fd1d8b45864de9d537 100755 (executable)
@@ -141,7 +141,7 @@ foreach my $catalog (sort @catalogs) {
        }
        print "</td>\n";
 
-       print LIST "$catalog/$lang\n" if $list_file and $pct >= $QUALIFIED_CUTOFF;
+       print LIST "$catalog/$lang\n" if $list_file and defined $pct and $pct >= $QUALIFIED_CUTOFF;
     }
 
     print "<td align=\"center\">";