Correct variable name typo.

This commit is contained in:
Bradley M. Kuhn 2017-01-02 14:53:08 -08:00
parent 211bd09c65
commit 3283cff2e1

View file

@ -120,7 +120,7 @@ foreach my $supporterId (sort @supporterIds) {
my $displayName = $sp->getDisplayName($supporterId); my $displayName = $sp->getDisplayName($supporterId);
if ($isPaper) { if ($isPaper) {
next unless $sp->paperMailOk($donorId); next unless $sp->paperMailOk($supporterId);
my $latexDisplayName = latex_encode($displayName); my $latexDisplayName = latex_encode($displayName);
$latexDisplayName =~ s/\\unmatched\{0141\}/\L{}/g; $latexDisplayName =~ s/\\unmatched\{0141\}/\L{}/g;
$latexDisplayName =~ s/\\unmatched\{0142\}/\l{}/g; $latexDisplayName =~ s/\\unmatched\{0142\}/\l{}/g;
@ -159,7 +159,7 @@ foreach my $supporterId (sort @supporterIds) {
close LETTER; close LETTER;
close MESSAGE; close MESSAGE;
} else { } else {
next unless $sp->emailOk($donorId); next unless $sp->emailOk($supporterId);
open(MESSAGE, "<", $EMAIL_TEMPLATE); open(MESSAGE, "<", $EMAIL_TEMPLATE);
my @message; my @message;
while (my $line = <MESSAGE> ) { while (my $line = <MESSAGE> ) {