Correct typo in variable name.

This commit is contained in:
Bradley M. Kuhn 2017-01-18 14:34:15 +11:00
parent 722105b1ff
commit 02e80b8d08

View file

@ -36,7 +36,8 @@ foreach my $id (@supporterIds) {
my $expiresOn = $sp->supporterExpirationDate($id);
my $isLapsed = ( (not defined $expiresOn) or $expiresOn lt $TODAY);
# next if $isLapsed;
next unless $sp->emailOk($donorId);
next unless $sp->emailOk($id);
my $emailTo = $sp->getPreferredEmailAddress($id);
if (not defined $emailTo) {
my(@addr) = $sp->getEmailAddresses($id);