From 74e63fe0e602f745e711cf00417b965614f7be68 Mon Sep 17 00:00:00 2001 From: Colin Campbell Date: Thu, 16 Dec 2010 04:59:34 -0500 Subject: [PATCH] Bug 4286 Allow receiving if subscription enddate not set HasSubscriptionExpired is not a boolean return it may also return that a valid subscription enddate is not set This should not block receipting of issues Signed-off-by: Nicole Engard Signed-off-by: Chris Cormack --- serials/serials-edit.pl | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/serials/serials-edit.pl b/serials/serials-edit.pl index 90f3281e1b..58936be563 100755 --- a/serials/serials-edit.pl +++ b/serials/serials-edit.pl @@ -145,7 +145,7 @@ foreach my $tmpserialid (@serialids) { $data->{arriveddate}=$today->output('syspref'); $data->{'editdisable'} = ( ( - HasSubscriptionExpired( $data->{subscriptionid} ) + HasSubscriptionExpired( $data->{subscriptionid} ) == 1 && $data->{'status1'} ) || $data->{'cannotedit'} -- 2.39.5