Bug 12198: (follow-up) fix warning when opening guarantor search form
authorGalen Charlton <gmc@esilibrary.com>
Tue, 6 May 2014 20:08:17 +0000 (20:08 +0000)
committerGalen Charlton <gmc@esilibrary.com>
Thu, 8 May 2014 16:16:52 +0000 (16:16 +0000)
To test:

[1] Verify that act of running a guarantor search does not result in
    the following warning message in the Apache log:

"guarantor_search.pl: Use of uninitialized value $member in string ne
 at guarantor_search.pl line 63"

Signed-off-by: Galen Charlton <gmc@esilibrary.com>
Signed-off-by: Jonathan Druart <jonathan.druart@biblibre.com>
Signed-off-by: Galen Charlton <gmc@esilibrary.com>
members/guarantor_search.pl

index 6211cee..e71374e 100755 (executable)
@@ -42,7 +42,7 @@ my ( $template, $loggedinuser, $cookie );
     }
 );
 
-my $member        = $input->param('member');
+my $member        = $input->param('member') // '';
 my $orderby       = $input->param('orderby');
 my $category_type = $input->param('category_type');