diff options
Diffstat (limited to 'staticweb/man.pl')
-rwxr-xr-x | staticweb/man.pl | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/staticweb/man.pl b/staticweb/man.pl index 8ade7d6c..4e9c2ed3 100755 --- a/staticweb/man.pl +++ b/staticweb/man.pl @@ -69,7 +69,7 @@ sub dirmode digester => 'MD5', compress => 0, ); - foreach( @{$serial->deserialize($db{$fpath})} ){ + foreach( @{$serial->deserialize($db{$fpath}) || []} ){ $_->[1] =~ s/([\xA1-\xF9].)/$b2g{$1}/eg if( $isgb ); #Encode::from_to($_->[1], 'big5', 'gbk') if( $isgb ); $isdir = (($_->[0] =~ m|/$|) ? 1 : 0); |