summaryrefslogtreecommitdiff
path: root/fml/lib/Mail/HTML
diff options
context:
space:
mode:
authorfukachan <fukachan>2001-12-26 12:38:10 +0000
committerfukachan <fukachan>2001-12-26 12:38:10 +0000
commit014e7b218530f4331bd6fef824603332e292aefe (patch)
treeec0139dbc495cdc6acd1c5c4a8c16848090c93a5 /fml/lib/Mail/HTML
parent7108873bc8a85974072e83aa81b2393a25d8d553 (diff)
downloadfml8-014e7b218530f4331bd6fef824603332e292aefe.tar.gz
fml8-014e7b218530f4331bd6fef824603332e292aefe.tar.bz2
fml8-014e7b218530f4331bd6fef824603332e292aefe.zip
bug fix: _print_li_filename() check is too restricted
Diffstat (limited to 'fml/lib/Mail/HTML')
-rw-r--r--fml/lib/Mail/HTML/Lite.pm6
1 files changed, 3 insertions, 3 deletions
diff --git a/fml/lib/Mail/HTML/Lite.pm b/fml/lib/Mail/HTML/Lite.pm
index 67d1b806..81bd43bc 100644
--- a/fml/lib/Mail/HTML/Lite.pm
+++ b/fml/lib/Mail/HTML/Lite.pm
@@ -4,7 +4,7 @@
# All rights reserved. This program is free software; you can
# redistribute it and/or modify it under the same terms as Perl itself.
#
-# $FML: Lite.pm,v 1.32 2001/12/22 09:21:18 fukachan Exp $
+# $FML: Lite.pm,v 1.33 2001/12/23 14:12:51 fukachan Exp $
#
package Mail::HTML::Lite;
@@ -15,7 +15,7 @@ use Carp;
my $debug = $ENV{'debug'} ? 1 : 0;
my $URL = "<A HREF=\"http://www.fml.org/software/\">Mail::HTML::Lite</A>";
-my $version = q$FML: Lite.pm,v 1.32 2001/12/22 09:21:18 fukachan Exp $;
+my $version = q$FML: Lite.pm,v 1.33 2001/12/23 14:12:51 fukachan Exp $;
if ($version =~ /,v\s+([\d\.]+)\s+/) {
$version = "$URL $1";
}
@@ -1967,7 +1967,7 @@ sub _print_li_filename
my $subject = $db->{ _subject }->{ $id };
my $who = $db->{ _who }->{ $id };
- if (defined $filename && $filename && -f $filename) {
+ if (defined $filename && $filename) {
_print_raw_str($wh, "<!-- LI id=$id -->\n", $code);
_print_raw_str($wh, "<LI>\n", $code);