From e511b3eac16e3ec9dfb7735484c0cfc345d4fb70 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 {} --- 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.20.1