Bugzilla – Attachment 41095 Details for
Bug 14484
Warns when changing patron password
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
Bug 14484: Jonathan Druart's fix
Bug-14484-Jonathan-Druarts-fix.patch (text/plain), 1.09 KB, created by
Aleisha Amohia
on 2015-07-20 04:26:54 UTC
(
hide
)
Description:
Bug 14484: Jonathan Druart's fix
Filename:
MIME Type:
Creator:
Aleisha Amohia
Created:
2015-07-20 04:26:54 UTC
Size:
1.09 KB
patch
obsolete
>From c1574b53a27578426431884f0625cc756d26c4c9 Mon Sep 17 00:00:00 2001 >From: Aleisha <aleishaamohia@hotmail.com> >Date: Mon, 20 Jul 2015 01:41:05 +0000 >Subject: [PATCH] Bug 14484: Jonathan Druart's fix > >To test: >1) Go to any patron's page, click Change password >2) Notice warns in error log >3) Apply patch, reload page >4) Click Change password >5) Notice warns are gone and page still works correctly >--- > members/member-password.pl | 3 +-- > 1 file changed, 1 insertion(+), 2 deletions(-) > >diff --git a/members/member-password.pl b/members/member-password.pl >index 02fe862..28f5ea0 100755 >--- a/members/member-password.pl >+++ b/members/member-password.pl >@@ -101,8 +101,7 @@ if (C4::Context->preference('ExtendedPatronAttributes')) { > } > > # Computes full borrower address >-my $roadtype = C4::Koha::GetAuthorisedValueByCode( 'ROADTYPE', $bor->{streettype} ); >-$roadtype //= ''; >+my $roadtype = C4::Koha::GetAuthorisedValueByCode( 'ROADTYPE', $bor->{streettype} ) // ''; > my $address = $bor->{'streetnumber'} . " $roadtype " . $bor->{'address'}; > > $template->param( othernames => $bor->{'othernames'}, >-- >1.7.10.4
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 14484
:
40748
|
41095
|
41454
|
41487
|
41495
|
41603