Bugzilla – Attachment 40507 Details for
Bug 14436
Noisy warns in C4/Utils/DataTables/Members.pm
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
Bug 14436 - Undefined $searchmember causing warns in C4/Utils/DataTables/Members.pm
Bug-14436---Undefined-searchmember-causing-warns-i.patch (text/plain), 1.06 KB, created by
Aleisha Amohia
on 2015-06-23 04:46:37 UTC
(
hide
)
Description:
Bug 14436 - Undefined $searchmember causing warns in C4/Utils/DataTables/Members.pm
Filename:
MIME Type:
Creator:
Aleisha Amohia
Created:
2015-06-23 04:46:37 UTC
Size:
1.06 KB
patch
obsolete
>From 23eb08beb1a81d3dca2191100a1385c9cb437102 Mon Sep 17 00:00:00 2001 >From: Aleisha <aleishaamohia@hotmail.com> >Date: Tue, 23 Jun 2015 02:02:08 +0000 >Subject: [PATCH] Bug 14436 - Undefined $searchmember causing warns in > C4/Utils/DataTables/Members.pm > >This patch sets $searchmember to an empty string to avoid warns. > >To test: > >1) Go to Patrons (/cgi-bin/koha/members/members-home.pl) and pick any letter to 'Browse by last name' >2) Notice the warns in the error log >3) Apply patch >4) Reload page and pick a letter to browse by last name >5) Notice page still works but no warns in error log >--- > C4/Utils/DataTables/Members.pm | 1 + > 1 file changed, 1 insertion(+) > >diff --git a/C4/Utils/DataTables/Members.pm b/C4/Utils/DataTables/Members.pm >index aa0f838..f668ae9 100644 >--- a/C4/Utils/DataTables/Members.pm >+++ b/C4/Utils/DataTables/Members.pm >@@ -54,6 +54,7 @@ sub search { > } > > # split on coma >+ $searchmember //= ''; > $searchmember =~ s/,/ /g if $searchmember; > my $searchfields = { > standard => 'surname,firstname,othernames,cardnumber', >-- >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 14436
:
40507
|
40799
|
40926
|
40931
|
40966