Bugzilla – Attachment 2880 Details for
Bug 5489
Send hold email to branch email address if it exists instead of koha email address
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
signed off patch
0001--SIGNED-OFF-Bug-5489-Send-hold-email-to-branch-ema.patch (text/plain), 1.22 KB, created by
Nicole C. Engard
on 2010-12-17 20:01:01 UTC
(
hide
)
Description:
signed off patch
Filename:
MIME Type:
Creator:
Nicole C. Engard
Created:
2010-12-17 20:01:01 UTC
Size:
1.22 KB
patch
obsolete
>From b18bb9c6bab1aec4fa9445dbd2a281d8414f648c Mon Sep 17 00:00:00 2001 >From: Amit Gupta <amit.gupta@osslabs.biz> >Date: Tue, 14 Dec 2010 13:05:00 +0530 >Subject: [PATCH] [SIGNED-OFF] Bug 5489: Send hold email to branch email address if it exists instead of koha email address >Content-Type: text/plain; charset="utf-8" > > >Signed-off-by: Nicole Engard <nengard@bywatersolutions.com> >--- > C4/Reserves.pm | 4 +++- > 1 files changed, 3 insertions(+), 1 deletions(-) > >diff --git a/C4/Reserves.pm b/C4/Reserves.pm >index e15d32f..2dd2688 100644 >--- a/C4/Reserves.pm >+++ b/C4/Reserves.pm >@@ -194,7 +194,9 @@ sub AddReserve { > my $borrower = C4::Members::GetMember(borrowernumber => $borrowernumber); > my $biblio = GetBiblioData($biblionumber); > my $letter = C4::Letters::getletter( 'reserves', 'HOLDPLACED'); >- my $admin_email_address = C4::Context->preference('KohaAdminEmailAddress'); >+ my $branchcode = $borrower->{branchcode}; >+ my $branch_details = C4::Branch::GetBranchDetail($branchcode); >+ my $admin_email_address =$branch_details->{'branchemail'} || C4::Context->preference('KohaAdminEmailAddress'); > > my %keys = (%$borrower, %$biblio); > foreach my $key (keys %keys) { >-- >1.5.6.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 5489
: 2880