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:
parent
5431e7eb3c
commit
d2ca343c71
1 changed files with 1 additions and 1 deletions
|
@ -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;
|
||||
|
|
Loading…
Reference in a new issue