From c2deb34adc5d9552d3085ac2cbde3a883f3d694e 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 --- 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.11.0