From be38fadf1509f51c518ad9c56b3b270cfc358288 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 (cherry picked from commit 74e63fe0e602f745e711cf00417b965614f7be68) Signed-off-by: Chris Nighswonger --- 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 6357fc71f2..aaa0574030 100755 --- a/serials/serials-edit.pl +++ b/serials/serials-edit.pl @@ -144,7 +144,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