From 7ece375b203b14cc4cdf2df8ae9d2ee4ece08ca6 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 f9ce87945a..d025b4c93f 100644 --- a/Koha/Hold.pm +++ b/Koha/Hold.pm @@ -518,7 +518,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.30.1 (Apple Git-130)