From daf01021817d1606a267497302052225d6b47e9f 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 --- 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.24.1 (Apple Git-126)