From 2fee4a8fbfff9bff99289852840908c1e696cb00 Mon Sep 17 00:00:00 2001 From: Kyle M Hall Date: Thu, 20 Aug 2020 12:25:54 -0400 Subject: [PATCH] Bug 25534: (QA follow-up) Fix typo Signed-off-by: Katrin Fischer --- circ/pendingreserves.pl | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/circ/pendingreserves.pl b/circ/pendingreserves.pl index 29bf15bd4e..24d4f67f56 100755 --- a/circ/pendingreserves.pl +++ b/circ/pendingreserves.pl @@ -56,7 +56,7 @@ my @messages; if ( $op eq 'cancel_reserve' and $reserve_id ) { my $hold = Koha::Holds->find( $reserve_id ); if ( $hold ) { - my $cancellation_reason = $input->param('cancellation-reasion'); + my $cancellation_reason = $input->param('cancellation-reason'); $hold->cancel({ cancellation_reason => $cancellation_reason }); push @messages, { type => 'message', code => 'hold_cancelled' }; } -- 2.11.0