Fix typo, which disabled receipt of non-periodic or unknown periodicity serials due to miscalculation of subscription end.

Signed-off-by: Joshua Ferraro <jmf@liblime.com>
This commit is contained in:
Ryan Higgins 2008-07-18 01:23:52 -05:00 committed by Joshua Ferraro
parent 5431e7eb3c
commit d2ca343c71

View file

@ -1746,7 +1746,7 @@ sub HasSubscriptionExpired {
} else {
if ($subscription->{'numberlength'}){
my $countreceived=countissuesfrom($subscriptionid,$subscription->{'startdate'});
return 1 if ($countreceived >$subscription->{'numberlentgh'});
return 1 if ($countreceived >$subscription->{'numberlength'});
return 0;
} else {
return 0;