From 4c1a2e9727b852063c2822c58d6e567cabba5405 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 --- C4/Members.pm | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/C4/Members.pm b/C4/Members.pm index 4ca2f91..f9b3942 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.8.1