These two places should be $laspesSoon
Only debugging output is impacted here, but it really should be based on the variable we're actually using in the next statement.
This commit is contained in:
		
							parent
							
								
									65070094ed
								
							
						
					
					
						commit
						98026dd16d
					
				
					 1 changed files with 2 additions and 2 deletions
				
			
		|  | @ -97,14 +97,14 @@ foreach my $supporterId (@supporterIds) { | |||
|   if (defined $request) { | ||||
|     if (defined $request->{fulfillDate}) { | ||||
|       print STDERR "$supporterId lapsed on $expiresOn but recorded as renewed on $request->{fulfillDate}\n" | ||||
|         if ( ($isLapsed or $lapsesInOneWeek) and $VERBOSE); | ||||
|         if ( ($isLapsed or $lapsesSoon) and $VERBOSE); | ||||
|     } else { | ||||
|       print STDERR "$supporterId received this renewal notice already on $request->{requestDate}\n" | ||||
|         if $VERBOSE; | ||||
|     } | ||||
|     next; | ||||
|   } | ||||
|   print STDERR "$supporterId skipped since he is not lapsed\n" if ( (not $isLapsed and not $lapsesInOneWeek) and $VERBOSE > 1); | ||||
|   print STDERR "$supporterId skipped since he is not lapsed\n" if ( (not $isLapsed and not $lapsesSoon) and $VERBOSE > 1); | ||||
|   next unless $isLapsed or $lapsesSoon; | ||||
| 
 | ||||
| 
 | ||||
|  |  | |||
		Loading…
	
	Add table
		
		Reference in a new issue
	
	 Bradley M. Kuhn
						Bradley M. Kuhn