From 12aade3b520e3046da97fc0e4974a9efc925b065 Mon Sep 17 00:00:00 2001 From: Kyle M Hall Date: Wed, 25 Nov 2020 10:09:18 -0500 Subject: [PATCH] Bug 26282: (QA follow-up) Always notify patron if notify checkbox is checked Signed-off-by: Martin Renvoize Signed-off-by: Tomas Cohen Arazi Signed-off-by: Josef Moravec --- Koha/Hold.pm | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Koha/Hold.pm b/Koha/Hold.pm index c1a72a63c6..378b619bfc 100644 --- a/Koha/Hold.pm +++ b/Koha/Hold.pm @@ -649,7 +649,7 @@ sub cancel { $self->cancellation_reason( $params->{cancellation_reason} ); $self->store(); - if ( $params->{cancellation_reason} && $params->{notify_patron} ) { + if ( $params->{notify_patron} ) { my $letter = C4::Letters::GetPreparedLetter( module => 'reserves', letter_code => 'HOLD_CANCELLATION', -- 2.37.1