From 5eb5e6ac4539ae17b78651190206cb82b46b2853 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 MIME-Version: 1.0 Content-Type: text/plain; charset=utf8 Content-Transfer-Encoding: 8bit Signed-off-by: Jonathan Druart Signed-off-by: Kyle M Hall (cherry picked from commit 1aa9f7b92fa831c943f7bccf470dbed72eba3c17) Signed-off-by: Frédéric Demians --- 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