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

(-)a/C4/Members.pm (-2 / +1 lines)
Lines 1663-1669 sub DelMember { Link Here
1663
    return unless $borrowernumber;    # borrowernumber is mandatory.
1663
    return unless $borrowernumber;    # borrowernumber is mandatory.
1664
    # Delete Patron's holds
1664
    # Delete Patron's holds
1665
    my @holds = Koha::Holds->search({ borrowernumber => $borrowernumber });
1665
    my @holds = Koha::Holds->search({ borrowernumber => $borrowernumber });
1666
    map { $_->delete } @holds;
1666
    $_->delete for @holds;
1667
1667
1668
    my $query = "
1668
    my $query = "
1669
       DELETE
1669
       DELETE
1670
- 

Return to bug 16819