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> Signed-off-by: Marcel de Rooy <m.de.rooy@rijksmuseum.nl> Signed-off-by: Tomas Cohen Arazi <tomascohen@theke.io>
This commit is contained in:
parent
f733910f26
commit
72a2da381f
2 changed files with 2 additions and 2 deletions
|
@ -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;
|
||||
|
|
|
@ -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;
|
||||
|
|
Loading…
Reference in a new issue