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

(-)a/members/update-child.pl (-4 / +3 lines)
Lines 72-81 if ( $op eq 'multi' ) { Link Here
72
}
72
}
73
elsif ( $op eq 'update' ) {
73
elsif ( $op eq 'update' ) {
74
    my $patron = Koha::Patrons->find($borrowernumber);
74
    my $patron = Koha::Patrons->find($borrowernumber);
75
    $_->delete() for $patrons->guarantor_relationships();
75
    $_->delete() for $patron->guarantor_relationships();
76
76
77
    my $patron_hashref = patron->unblessed();
77
    my $patron_hashref = $patron->unblessed();
78
    my $borcat         = GetBorrowercategory($catcode);
78
    my $borcat         = Koha::Patron::Categories->find($patron->categorycode);
79
    $patron_hashref->{'category_type'} = $borcat->{'category_type'};
79
    $patron_hashref->{'category_type'} = $borcat->{'category_type'};
80
    $patron_hashref->{'categorycode'}  = $catcode;
80
    $patron_hashref->{'categorycode'}  = $catcode;
81
    $patron_hashref->{'description'}   = $borcat->{'description'};
81
    $patron_hashref->{'description'}   = $borcat->{'description'};
82
- 

Return to bug 14570