diff --git a/Koha/ILL/Request.pm b/Koha/ILL/Request.pm index 3816271f0e..49050abd90 100644 --- a/Koha/ILL/Request.pm +++ b/Koha/ILL/Request.pm @@ -2158,6 +2158,7 @@ sub get_op_param_deprecation { $op = 'cud-generic_confirm' if $op eq 'generic_confirm'; $op = 'cud-cancel' if $op eq 'cancel'; $op = 'cud-delete' if $op eq 'delete'; + $op = 'cud-check_out' if $op eq 'check_out'; } return $op; } diff --git a/ill/ill-requests.pl b/ill/ill-requests.pl index 3d7744ca56..fa514eb369 100755 --- a/ill/ill-requests.pl +++ b/ill/ill-requests.pl @@ -369,6 +369,7 @@ if ( $backends_available ) { # handle special commit rules & update type handle_commit_maybe($backend_result, $request); } elsif ( $op eq 'cud-check_out') { + $op =~ s/^cud-//; my $request = Koha::ILL::Requests->find($params->{illrequest_id}); my $backend_result = $request->check_out($params); $template->param(