From 0df49d540612fe841365d9b6c4c7265fdb65c737 Mon Sep 17 00:00:00 2001 From: Aleisha Date: Fri, 10 Jul 2015 10:31:53 -0400 Subject: [PATCH] Bug 14436: Noisy warns in C4/Utils/DataTables/Members.pm TEST PLAN --------- 1) Backup the koha intranet error log. 2) Empty the koha intranet error log. 3) In staff client, go to Patrons (/cgi-bin/koha/members/members-home.pl) 4) Pick any letter to 'Browse by last name' -- koha intranet error log now has warns. -- the one of importance is the uninitalized value. 5) Empty the koha intranet error log. 6) apply this patch 7) Repeat steps 3 & 4. -- koha intranet error log does not contain the uninitialized value error. 8) run koha qa test tools. Signed-off-by: Indranil Das Gupta (L2C2 Technologies) Signed-off-by: Jonathan Druart Signed-off-by: Tomas Cohen Arazi (cherry picked from commit 09b34591b665228c3ab38d3d327224c2c59cee6e) Signed-off-by: Chris Cormack --- C4/Utils/DataTables/Members.pm | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/C4/Utils/DataTables/Members.pm b/C4/Utils/DataTables/Members.pm index 6b365c567d..5fbb9dfee9 100644 --- a/C4/Utils/DataTables/Members.pm +++ b/C4/Utils/DataTables/Members.pm @@ -17,7 +17,7 @@ sub search { my $dt_params = $params->{dt_params}; unless ( $searchmember ) { - $searchmember = $dt_params->{sSearch}; + $searchmember = $dt_params->{sSearch} // ''; } my ($iTotalRecords, $iTotalDisplayRecords); -- 2.39.5