From 35eb13a0479880fdbd08894854049de823f330ed 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 735a7fa3f9..5278c81a12 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.20.1