Bugzilla – Attachment 151042 Details for
Bug 33223
Koha::Patron->notice_email_address isn't consistently used
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
Bug 33223: Fix sendshelf
Bug-33223-Fix-sendshelf.patch (text/plain), 1.57 KB, created by
David Cook
on 2023-05-11 03:19:51 UTC
(
hide
)
Description:
Bug 33223: Fix sendshelf
Filename:
MIME Type:
Creator:
David Cook
Created:
2023-05-11 03:19:51 UTC
Size:
1.57 KB
patch
obsolete
>From 95b8861908b763968a552771360515a3259d4f6c Mon Sep 17 00:00:00 2001 >From: Martin Renvoize <martin.renvoize@ptfs-europe.com> >Date: Wed, 10 May 2023 18:02:35 +0100 >Subject: [PATCH] Bug 33223: Fix sendshelf > >Two new occurences of first_valid crept in, this patch corrects those to >also use notice_ > >Signed-off-by: David Cook <dcook@prosentient.com.au> >--- > opac/opac-sendshelf.pl | 2 +- > virtualshelves/sendshelf.pl | 2 +- > 2 files changed, 2 insertions(+), 2 deletions(-) > >diff --git a/opac/opac-sendshelf.pl b/opac/opac-sendshelf.pl >index f5600a27e3..a90d2ca5f4 100755 >--- a/opac/opac-sendshelf.pl >+++ b/opac/opac-sendshelf.pl >@@ -61,7 +61,7 @@ if ( $shelf and $shelf->can_be_viewed($borrowernumber) ) { > my $comment = $query->param('comment'); > > my $patron = Koha::Patrons->find($borrowernumber); >- my $user_email = $patron->first_valid_email_address; >+ my $user_email = $patron->notice_email_address; > my $shelf = Koha::Virtualshelves->find($shelfid); > my $contents = $shelf->get_contents; > my $iso2709; >diff --git a/virtualshelves/sendshelf.pl b/virtualshelves/sendshelf.pl >index 8deeffd96f..3a2738c2d8 100755 >--- a/virtualshelves/sendshelf.pl >+++ b/virtualshelves/sendshelf.pl >@@ -61,7 +61,7 @@ if ($to_address) { > my $comment = $query->param('comment'); > > my $patron = Koha::Patrons->find($borrowernumber); >- my $user_email = $patron->first_valid_email_address; >+ my $user_email = $patron->notice_email_address; > my $contents = $shelf->get_contents; > my @biblionumbers; > my $iso2709; >-- >2.30.2
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 33223
:
148168
|
151023
|
151024
|
151025
|
151041
|
151042
|
151117
|
151118