@@ -, +, @@ --- opac/opac-memberentry.pl | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) --- a/opac/opac-memberentry.pl +++ a/opac/opac-memberentry.pl @@ -78,7 +78,8 @@ my $mandatory = GetMandatoryFields($action); my $params = {}; if ( $action eq 'create' || $action eq 'new' ) { my @PatronSelfRegistrationLibraryList = split '\|', C4::Context->preference('PatronSelfRegistrationLibraryList'); - $params = { branchcode => { -in => \@PatronSelfRegistrationLibraryList } }; + $params = { branchcode => { -in => \@PatronSelfRegistrationLibraryList } } + if @PatronSelfRegistrationLibraryList; } my @libraries = Koha::Libraries->search($params); --