Skip to content

Commit

Permalink
fix: fix bug in Mail.pm (#8726)
Browse files Browse the repository at this point in the history
  • Loading branch information
raphael0202 committed Jul 25, 2023
1 parent f072408 commit b2d58e3
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/ProductOpener/Mail.pm
Original file line number Diff line number Diff line change
Expand Up @@ -225,7 +225,7 @@ sub get_html_email_content ($filename, $lang) {
$file = "$data_root/lang/en/emails/$filename";
}

open(my $IN, "<:encoding(UTF-8)", $file) or log->error("Can't open $file for reading");
open(my $IN, "<:encoding(UTF-8)", $file) or $log->error("Can't open $file for reading");
return unless $IN;
my $html = join('', (<$IN>));
close($IN);
Expand Down

0 comments on commit b2d58e3

Please sign in to comment.