Bugzilla – Attachment 122060 Details for
Bug 28582
Can't enqueue letter HASH(0x55edf1806850) at /usr/share/koha/Koha/ArticleRequest.pm line 123.
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
Bug 28582: Fix hashref in a warning message
Bug-28582-Fix-hashref-in-a-warning-message.patch (text/plain), 1.08 KB, created by
Martin Renvoize (ashimema)
on 2021-06-17 11:24:02 UTC
(
hide
)
Description:
Bug 28582: Fix hashref in a warning message
Filename:
MIME Type:
Creator:
Martin Renvoize (ashimema)
Created:
2021-06-17 11:24:02 UTC
Size:
1.08 KB
patch
obsolete
>From 73af6b9bcab2b943f1baca6cb825e7eff43a33a8 Mon Sep 17 00:00:00 2001 >From: Marcel de Rooy <m.de.rooy@rijksmuseum.nl> >Date: Thu, 17 Jun 2021 09:38:15 +0000 >Subject: [PATCH] Bug 28582: Fix hashref in a warning message > >Can't enqueue letter HASH(0x55edf1806850) > >Test plan: >If you cancel an article request when there is no email address >(no branch email, no KohaAdminEmailAddress), Koha warns. >Verify that the warning now contains the letter code. > >Signed-off-by: Marcel de Rooy <m.de.rooy@rijksmuseum.nl> >Signed-off-by: Martin Renvoize <martin.renvoize@ptfs-europe.com> >--- > Koha/ArticleRequest.pm | 2 +- > 1 file changed, 1 insertion(+), 1 deletion(-) > >diff --git a/Koha/ArticleRequest.pm b/Koha/ArticleRequest.pm >index 2c47dd03fe..6b8809bc33 100644 >--- a/Koha/ArticleRequest.pm >+++ b/Koha/ArticleRequest.pm >@@ -126,7 +126,7 @@ sub notify { > borrowernumber => $self->borrowernumber, > message_transport_type => 'email', > } >- ) or warn "can't enqueue letter $letter"; >+ ) or warn "can't enqueue letter ". $letter->{code}; > } > } > >-- >2.20.1
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 28582
:
122058
| 122060