From 74605e72aa74524984f0411f8db6fd55f2f12148 Mon Sep 17 00:00:00 2001 From: Nick Clemens Date: Tue, 27 Oct 2020 14:36:24 +0000 Subject: [PATCH] Bug 26581: (follow-up) Restore unsetting of doreturn Signed-off-by: Jonathan Druart --- C4/Circulation.pm | 1 + 1 file changed, 1 insertion(+) diff --git a/C4/Circulation.pm b/C4/Circulation.pm index 61a85a3b8e..ddea115c8f 100644 --- a/C4/Circulation.pm +++ b/C4/Circulation.pm @@ -1986,6 +1986,7 @@ sub AddReturn { Wrongbranch => $branch, Rightbranch => $message }; + $doreturn = 0; my $indexer = Koha::SearchEngine::Indexer->new({ index => $Koha::SearchEngine::BIBLIOS_INDEX }); $indexer->index_records( $item->biblionumber, "specialUpdate", "biblioserver" ); return ( $doreturn, $messages, $issue, $patron_unblessed); -- 2.39.5