From 196d7311eaa2ef631d116216ab613cb5fea62429 Mon Sep 17 00:00:00 2001 From: Jonathan Druart Date: Mon, 8 Feb 2021 14:43:27 +0100 Subject: [PATCH] Bug 27604: Init to {} Signed-off-by: Jonathan Druart (cherry picked from commit 4784b8ffe52b78a1a0a7fe168b9ffc27657d0196) Signed-off-by: Fridolin Somers (cherry picked from commit c4922f9c7673796e6d63fd27169a347285a594f7) Signed-off-by: Andrew Fuerste-Henry --- opac/opac-memberentry.pl | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/opac/opac-memberentry.pl b/opac/opac-memberentry.pl index 6ebfbc0f0b..057d9e88d6 100755 --- a/opac/opac-memberentry.pl +++ b/opac/opac-memberentry.pl @@ -74,7 +74,7 @@ if ( $action eq q{} ) { my $mandatory = GetMandatoryFields($action); -my $params = undef; +my $params = {}; if ( $action eq 'create' || $action eq 'new' ) { my @PatronSelfRegistrationLibraryList = split '\|', C4::Context->preference('PatronSelfRegistrationLibraryList'); $params = { branchcode => { -in => \@PatronSelfRegistrationLibraryList } }; -- 2.39.5