Bugzilla – Attachment 48068 Details for
Bug 15813
Fix list-context call to ...->guarantor in opac-memberentry.pl
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
Bug 15813: Fix list-context call to ...->guarantor in opac-memberentry.pl
Bug-15813-Fix-list-context-call-to--guarantor-in-o.patch (text/plain), 1.20 KB, created by
Jonathan Druart
on 2016-02-15 16:42:20 UTC
(
hide
)
Description:
Bug 15813: Fix list-context call to ...->guarantor in opac-memberentry.pl
Filename:
MIME Type:
Creator:
Jonathan Druart
Created:
2016-02-15 16:42:20 UTC
Size:
1.20 KB
patch
obsolete
>From 4588195a39f1e70cc40000882897b454d23e0d70 Mon Sep 17 00:00:00 2001 >From: Jesse Weaver <jweaver@bywatersolutions.com> >Date: Wed, 6 Jan 2016 13:19:10 -0700 >Subject: [PATCH] Bug 15813: Fix list-context call to ...->guarantor in > opac-memberentry.pl > >(was: Bug 14658: (followup) fix issue with list context on DBIC call) > >While working on bug 14659, it was discovered that the call to >...->guarantor in list context will cause the hash to be misaligned if >there is no guarantor. > >Signed-off-by: Nick Clemens <nick@bywatersolutions.com> > >Signed-off-by: Jonathan Druart <jonathan.druart@bugs.koha-community.org> >--- > opac/opac-memberentry.pl | 2 +- > 1 file changed, 1 insertion(+), 1 deletion(-) > >diff --git a/opac/opac-memberentry.pl b/opac/opac-memberentry.pl >index 667f201..32da430 100755 >--- a/opac/opac-memberentry.pl >+++ b/opac/opac-memberentry.pl >@@ -227,7 +227,7 @@ elsif ( $action eq 'edit' ) { #Display logged in borrower's data > > $template->param( > borrower => $borrower, >- guarantor => Koha::Borrowers->find($borrowernumber)->guarantor(), >+ guarantor => scalar Koha::Borrowers->find($borrowernumber)->guarantor(), > ); > > if (C4::Context->preference('OPACpatronimages')) { >-- >2.7.0
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 15813
:
48038
| 48068