Bugzilla – Attachment 40748 Details for
Bug 14484
Warns when changing patron password
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
Bug 14484: Silences warns triggered when changing patron password
Bug-14484-Silences-warns-triggered-when-changing-p.patch (text/plain), 1.05 KB, created by
Aleisha Amohia
on 2015-07-01 05:42:44 UTC
(
hide
)
Description:
Bug 14484: Silences warns triggered when changing patron password
Filename:
MIME Type:
Creator:
Aleisha Amohia
Created:
2015-07-01 05:42:44 UTC
Size:
1.05 KB
patch
obsolete
>From 6c7bee1ba5902942c4047e85e10e067fb293de14 Mon Sep 17 00:00:00 2001 >From: Aleisha <aleishaamohia@hotmail.com> >Date: Wed, 1 Jul 2015 02:58:46 +0000 >Subject: [PATCH] Bug 14484: Silences warns triggered when changing patron > password > >Use of uninitialized value $roadtype > >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 | 1 + > 1 file changed, 1 insertion(+) > >diff --git a/members/member-password.pl b/members/member-password.pl >index 310d641..02fe862 100755 >--- a/members/member-password.pl >+++ b/members/member-password.pl >@@ -102,6 +102,7 @@ if (C4::Context->preference('ExtendedPatronAttributes')) { > > # Computes full borrower address > my $roadtype = C4::Koha::GetAuthorisedValueByCode( 'ROADTYPE', $bor->{streettype} ); >+$roadtype //= ''; > 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 Raw
Actions:
View
Attachments on
bug 14484
:
40748
|
41095
|
41454
|
41487
|
41495
|
41603