View | Details | Raw Unified | Return to bug 23808
Collapse All | Expand All

(-)a/members/memberentry.pl (-8 / +11 lines)
Lines 594-606 if (C4::Context->preference("IndependentBranches")) { Link Here
594
    }
594
    }
595
}
595
}
596
if ($op eq 'add'){
596
if ($op eq 'add'){
597
    if ( $guarantor_id ) {
597
    if ($guarantor_id) {
598
        my $guarantordata = $guarantor->unblessed;
598
        foreach (
599
        foreach (qw(streetnumber address streettype address2
599
            qw(
600
          zipcode country city state phone phonepro mobile fax email emailpro branchcode
600
                streetnumber address streettype address2 zipcode country city state phone phonepro mobile
601
          B_streetnumber B_streettype B_address B_address2
601
                fax email emailpro branchcode
602
          B_city B_state B_zipcode B_country B_email B_phone)) {
602
                B_streetnumber B_streettype B_address B_address2
603
              $newdata{$_} = $guarantordata->{$_};
603
                B_city B_state B_zipcode B_country B_email B_phone
604
            )
605
          )
606
        {
607
            $newdata{$_} = $guarantor->$_;
604
        }
608
        }
605
    }
609
    }
606
    $template->param( updtype => 'I', step_1=>1, step_2=>1, step_3=>1, step_4=>1, step_5 => 1, step_6 => 1, step_7 => 1);
610
    $template->param( updtype => 'I', step_1=>1, step_2=>1, step_3=>1, step_4=>1, step_5 => 1, step_6 => 1, step_7 => 1);
607
- 

Return to bug 23808