From 0cca3766be6e1bc13fbb0c33e02d708ac70fc946 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: Lucas Gass --- C4/Circulation.pm | 1 + 1 file changed, 1 insertion(+) diff --git a/C4/Circulation.pm b/C4/Circulation.pm index 94fb4165ca..5afb8f421f 100644 --- a/C4/Circulation.pm +++ b/C4/Circulation.pm @@ -1947,6 +1947,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