From 20a90e516c0b5c0a3571c4cceacd89675b7eac5b Mon Sep 17 00:00:00 2001 From: Henri-Damien LAURENT Date: Wed, 17 Oct 2007 15:20:35 -0500 Subject: [PATCH] Bug Fix : 1484 guarantor is now automatically filled in when coming from add Child. Signed-off-by: Chris Cormack Signed-off-by: Joshua Ferraro --- members/memberentry.pl | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/members/memberentry.pl b/members/memberentry.pl index 3332a58ea5..3d0a58a764 100755 --- a/members/memberentry.pl +++ b/members/memberentry.pl @@ -127,10 +127,10 @@ if (($category_type eq 'C' || $category_type eq 'P') and $guarantorid ne '' ){ my $guarantordata=GetMember($guarantorid); $guarantorinfo=$guarantordata->{'surname'}." , ".$guarantordata->{'firstname'}; if (($data{'contactname'} eq '' or $data{'contactname'} ne $guarantordata->{'surname'})) { - $newdata{'contactfirstname'}=$guarantordata->{'firstname'}; - $newdata{'contactname'}=$guarantordata->{'surname'}; - $newdata{'contacttitle'}=$guarantordata->{'title'}; - map {$newdata{$_}=$guarantordata->{$_}}('streetnumber','address','streettype','address2','zipcode','city','phone','phonepro','mobile','fax','email','emailpro'); + $data{'contactfirstname'}=$guarantordata->{'firstname'}; + $data{'contactname'}=$guarantordata->{'surname'}; + $data{'contacttitle'}=$guarantordata->{'title'}; + map {$data{$_}=$guarantordata->{$_}}('streetnumber','address','streettype','address2','zipcode','city','phone','phonepro','mobile','fax','email','emailpro'); } } -- 2.39.5