Bugzilla – Attachment 102534 Details for
Bug 24826
Use of uninitialized value $mail{"Cc"} in substitution (s///) at /usr/share/perl5/Mail/Sendmail.pm
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
Bug 24826: Remove warnings from Sendmail
Bug-24826-Remove-warnings-from-Sendmail.patch (text/plain), 1.03 KB, created by
Martin Renvoize (ashimema)
on 2020-04-08 08:28:31 UTC
(
hide
)
Description:
Bug 24826: Remove warnings from Sendmail
Filename:
MIME Type:
Creator:
Martin Renvoize (ashimema)
Created:
2020-04-08 08:28:31 UTC
Size:
1.03 KB
patch
obsolete
>From 1129f7be10bd032cd6bd25961f705126baeb88a8 Mon Sep 17 00:00:00 2001 >From: Jonathan Druart <jonathan.druart@bugs.koha-community.org> >Date: Wed, 11 Mar 2020 16:21:06 +0100 >Subject: [PATCH] Bug 24826: Remove warnings from Sendmail > >Use of uninitialized value $mail{"Cc"} in substitution (s///) at /usr/share/perl5/Mail/Sendmail.pm > >This is just a guess, I did not try this patch. > >Signed-off-by: Martin Renvoize <martin.renvoize@ptfs-europe.com> >--- > Koha/Email.pm | 4 ++-- > 1 file changed, 2 insertions(+), 2 deletions(-) > >diff --git a/Koha/Email.pm b/Koha/Email.pm >index 1dc353a9f8..f1e825e526 100644 >--- a/Koha/Email.pm >+++ b/Koha/Email.pm >@@ -56,8 +56,8 @@ sub create_message_headers { > $mail{'To'} = C4::Context->preference('SendAllEmailsTo'); > } > else { >- $mail{'Cc'} = $params->{cc}; >- $mail{'Bcc'} = $params->{bcc}; >+ $mail{'Cc'} = $params->{cc} if exists $params->{cc}; >+ $mail{'Bcc'} = $params->{bcc} if exists $params->{bcc}; > } > > if ( C4::Context->preference('ReplytoDefault') ) { >-- >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 24826
:
100579
| 102534