Bugzilla – Attachment 186347 Details for
Bug 30295
Send a notification when a recall is manually cancelled
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
Bug 30295: Use blessed patron to enqueue notice and QA fixes
Bug-30295-Use-blessed-patron-to-enqueue-notice-and.patch (text/plain), 2.39 KB, created by
Aleisha Amohia
on 2025-09-11 00:08:27 UTC
(
hide
)
Description:
Bug 30295: Use blessed patron to enqueue notice and QA fixes
Filename:
MIME Type:
Creator:
Aleisha Amohia
Created:
2025-09-11 00:08:27 UTC
Size:
2.39 KB
patch
obsolete
>From 92c7080d36cbf388e8b2c03c7673231bec462b56 Mon Sep 17 00:00:00 2001 >From: Aleisha Amohia <aleishaamohia@hotmail.com> >Date: Thu, 7 Sep 2023 23:10:09 +0000 >Subject: [PATCH] Bug 30295: Use blessed patron to enqueue notice and QA fixes > >Signed-off-by: Stina Hallin <stina.hallin@ub.lu.se> >Signed-off-by: David Nind <david@davidnind.com> >--- > Koha/Recall.pm | 4 ++-- > .../bug_30295-add_RECALL_MANUAL_CANCEL_message_attributes.pl | 0 > .../bug_30295-add_RECALL_MANUAL_CANCEL_message_transports.pl | 0 > .../atomicupdate/bug_30295-add_RECALL_MANUAL_CANCEL_notice.pl | 0 > 4 files changed, 2 insertions(+), 2 deletions(-) > mode change 100644 => 100755 installer/data/mysql/atomicupdate/bug_30295-add_RECALL_MANUAL_CANCEL_message_attributes.pl > mode change 100644 => 100755 installer/data/mysql/atomicupdate/bug_30295-add_RECALL_MANUAL_CANCEL_message_transports.pl > mode change 100644 => 100755 installer/data/mysql/atomicupdate/bug_30295-add_RECALL_MANUAL_CANCEL_notice.pl > >diff --git a/Koha/Recall.pm b/Koha/Recall.pm >index 43cfc377fb5..1e6a75d28b8 100644 >--- a/Koha/Recall.pm >+++ b/Koha/Recall.pm >@@ -488,10 +488,10 @@ sub set_cancelled { > { borrowernumber => $self->patron_id, message_name => 'Recall_Cancelled' } ); > while ( my ( $transport, $letter_code ) = each %{ $messaging_preferences->{transports} } ) { > if ( $transport eq 'email' ) { >- C4::Message->enqueue( $letter, $self->patron->unblessed, 'email' ); >+ C4::Message->enqueue( $letter, $self->patron, 'email' ); > } > if ( $transport eq 'sms' ) { >- C4::Message->enqueue( $letter, $self->patron->unblessed, 'sms' ); >+ C4::Message->enqueue( $letter, $self->patron, 'sms' ); > } > } > >diff --git a/installer/data/mysql/atomicupdate/bug_30295-add_RECALL_MANUAL_CANCEL_message_attributes.pl b/installer/data/mysql/atomicupdate/bug_30295-add_RECALL_MANUAL_CANCEL_message_attributes.pl >old mode 100644 >new mode 100755 >diff --git a/installer/data/mysql/atomicupdate/bug_30295-add_RECALL_MANUAL_CANCEL_message_transports.pl b/installer/data/mysql/atomicupdate/bug_30295-add_RECALL_MANUAL_CANCEL_message_transports.pl >old mode 100644 >new mode 100755 >diff --git a/installer/data/mysql/atomicupdate/bug_30295-add_RECALL_MANUAL_CANCEL_notice.pl b/installer/data/mysql/atomicupdate/bug_30295-add_RECALL_MANUAL_CANCEL_notice.pl >old mode 100644 >new mode 100755 >-- >2.39.5
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
|
Splinter Review
Attachments on
bug 30295
:
131763
|
140243
|
140245
|
147108
|
148114
|
149127
|
150431
|
155347
|
155358
|
158699
|
158700
|
158701
|
159007
|
159008
|
159009
|
172038
|
172039
|
172041
|
186346
| 186347 |
186348