From 24f3dbed2120e9aa764101ce1e7cdf9730c085cf Mon Sep 17 00:00:00 2001 From: Chris Cormack Date: Sun, 2 Dec 2007 19:14:20 -0600 Subject: [PATCH] Fix for re-enrollment not working Signed-off-by: Joshua Ferraro --- members/moremember.pl | 11 ++++------- 1 file changed, 4 insertions(+), 7 deletions(-) diff --git a/members/moremember.pl b/members/moremember.pl index 3596522a92..b85a6b2a81 100755 --- a/members/moremember.pl +++ b/members/moremember.pl @@ -83,13 +83,10 @@ if ( not defined $data ) { } # re-reregistration function to automatic calcul of date expiry -( -# $data->{'dateexpiry'} = GetMembeReregistration( - $data->{'dateexpiry'} = ExtendMemberSubscriptionTo( - $data->{'categorycode'}, - $borrowernumber, $data->{'dateenrolled'} - ) -) if ( $reregistration eq 'y' ); +if ( $reregistration eq 'y' ) { + $data->{'dateexpiry'} = ExtendMemberSubscriptionTo( $borrowernumber ); +} + my $borrowercategory = GetBorrowercategory( $data->{'categorycode'} ); my $category_type = $borrowercategory->{'category_type'}; -- 2.39.5