From 4784b8ffe52b78a1a0a7fe168b9ffc27657d0196 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 --- 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 5c9fe6120b..d11ae31925 100755 --- a/opac/opac-memberentry.pl +++ b/opac/opac-memberentry.pl @@ -75,7 +75,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