Bugzilla – Attachment 45678 Details for
Bug 14481
Warns when setting permissions for patron
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
Bug 14481: Warns when setting permissions for patron
Bug-14481-Warns-when-setting-permissions-for-patro.patch (text/plain), 1.18 KB, created by
Aleisha Amohia
on 2015-12-14 22:27:24 UTC
(
hide
)
Description:
Bug 14481: Warns when setting permissions for patron
Filename:
MIME Type:
Creator:
Aleisha Amohia
Created:
2015-12-14 22:27:24 UTC
Size:
1.18 KB
patch
obsolete
>From d8272fda870db066662df84c1b14df307e5c54b3 Mon Sep 17 00:00:00 2001 >From: Aleisha <aleishaamohia@hotmail.com> >Date: Mon, 14 Dec 2015 22:26:20 +0000 >Subject: [PATCH] Bug 14481: Warns when setting permissions for patron > >Use of uninitialized value $roadtype > >To test: >1) Go to any patron page and click More --> Set permissions (or follow this link --> http://localhost:8081/cgi-bin/koha/members/member-flags.pl?member=1369) >2) Notice the warns >3) Apply patch and reload page >4) Notice warns are gone and page still works correctly >--- > members/member-flags.pl | 2 +- > 1 file changed, 1 insertion(+), 1 deletion(-) > >diff --git a/members/member-flags.pl b/members/member-flags.pl >index 1206f12..cfc28d1 100755 >--- a/members/member-flags.pl >+++ b/members/member-flags.pl >@@ -170,7 +170,7 @@ if (C4::Context->preference('ExtendedPatronAttributes')) { > > # Computes full borrower address > my $roadtype = C4::Koha::GetAuthorisedValueByCode( 'ROADTYPE', $bor->{streettype} ); >-my $address = $bor->{'streetnumber'} . " $roadtype " . $bor->{'address'}; >+my $address = $bor->{'streetnumber'} . ' $roadtype ' . $bor->{'address'}; > > $template->param( > borrowernumber => $bor->{'borrowernumber'}, >-- >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 14481
:
40745
|
45678
|
45722