https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=15261

--- Comment #93 from Fridolin Somers <fridolin.som...@biblibre.com> ---
diff --git a/circ/circulation.pl b/circ/circulation.pl
index 5ec80c8f15..abfbb9306c 100755
--- a/circ/circulation.pl
+++ b/circ/circulation.pl
@@ -410,6 +410,10 @@ if (@$barcodes) {
         }
         unless($confirm_required) {
             my $switch_onsite_checkout = exists
$messages->{ONSITE_CHECKOUT_WILL_BE_SWITCHED};
+            if ( $cancelreserve eq 'cancel' ) {
+                CancelReserve({ reserve_id => $query->param('reserveid') });
+            }
+            $cancelreserve = $cancelreserve eq 'revert' ? 'revert' : undef;

CancelReserve does not exist anymore, see Bug 19059

-- 
You are receiving this mail because:
You are watching all bug changes.
_______________________________________________
Koha-bugs mailing list
Koha-bugs@lists.koha-community.org
https://lists.koha-community.org/cgi-bin/mailman/listinfo/koha-bugs
website : http://www.koha-community.org/
git : http://git.koha-community.org/
bugs : http://bugs.koha-community.org/

Reply via email to