From 8ba6bd033f30c4d7f393a50e299fe709e524c5f7 Mon Sep 17 00:00:00 2001 From: Jonathan Druart Date: Mon, 5 Feb 2018 09:34:42 -0300 Subject: [PATCH] Bug 19989: remove confusing variable Signed-off-by: Jonathan Druart --- opac/opac-memberentry.pl | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/opac/opac-memberentry.pl b/opac/opac-memberentry.pl index c680d7d07a..cf1ababcfc 100755 --- a/opac/opac-memberentry.pl +++ b/opac/opac-memberentry.pl @@ -272,7 +272,7 @@ elsif ( $action eq 'update' ) { $borrower_changes{borrowernumber} = $borrowernumber; $borrower_changes{extended_attributes} = to_json($extended_attributes_changes); - my $patron_modifications = Koha::Patron::Modifications->search({ borrowernumber => $borrowernumber })->delete; + Koha::Patron::Modifications->search({ borrowernumber => $borrowernumber })->delete; my $m = Koha::Patron::Modification->new( \%borrower_changes )->store(); -- 2.39.5