From 5f610d6654dea22018585ddc9e61c2f794c766c9 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 --- Koha/Hold.pm | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Koha/Hold.pm b/Koha/Hold.pm index 735a7fa3f99..5278c81a123 100644 --- a/Koha/Hold.pm +++ b/Koha/Hold.pm @@ -447,7 +447,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.29.2