From d2ca343c713371efc36713876c87ebe934c16923 Mon Sep 17 00:00:00 2001 From: Ryan Higgins Date: Fri, 18 Jul 2008 01:23:52 -0500 Subject: [PATCH] Fix typo, which disabled receipt of non-periodic or unknown periodicity serials due to miscalculation of subscription end. Signed-off-by: Joshua Ferraro --- C4/Serials.pm | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/C4/Serials.pm b/C4/Serials.pm index 4170865198..2d03d885c4 100644 --- a/C4/Serials.pm +++ b/C4/Serials.pm @@ -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; -- 2.39.5