Correct typo in variable name.
This commit is contained in:
parent
722105b1ff
commit
02e80b8d08
1 changed files with 2 additions and 1 deletions
|
@ -36,7 +36,8 @@ foreach my $id (@supporterIds) {
|
||||||
my $expiresOn = $sp->supporterExpirationDate($id);
|
my $expiresOn = $sp->supporterExpirationDate($id);
|
||||||
my $isLapsed = ( (not defined $expiresOn) or $expiresOn lt $TODAY);
|
my $isLapsed = ( (not defined $expiresOn) or $expiresOn lt $TODAY);
|
||||||
# next if $isLapsed;
|
# next if $isLapsed;
|
||||||
next unless $sp->emailOk($donorId);
|
|
||||||
|
next unless $sp->emailOk($id);
|
||||||
my $emailTo = $sp->getPreferredEmailAddress($id);
|
my $emailTo = $sp->getPreferredEmailAddress($id);
|
||||||
if (not defined $emailTo) {
|
if (not defined $emailTo) {
|
||||||
my(@addr) = $sp->getEmailAddresses($id);
|
my(@addr) = $sp->getEmailAddresses($id);
|
||||||
|
|
Loading…
Reference in a new issue