From 1aa9f7b92fa831c943f7bccf470dbed72eba3c17 Mon Sep 17 00:00:00 2001 From: Jonathan Druart Date: Sun, 3 Jul 2016 15:58:16 +0100 Subject: [PATCH] Bug 16819: Remove use of map Signed-off-by: Jonathan Druart Signed-off-by: Kyle M Hall --- C4/Members.pm | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/C4/Members.pm b/C4/Members.pm index 4ca2f91dc0..f9b3942489 100644 --- a/C4/Members.pm +++ b/C4/Members.pm @@ -1663,7 +1663,7 @@ sub DelMember { return unless $borrowernumber; # borrowernumber is mandatory. # Delete Patron's holds my @holds = Koha::Holds->search({ borrowernumber => $borrowernumber }); - map { $_->delete } @holds; + $_->delete for @holds; my $query = " DELETE -- 2.39.5