Lines 78-84
my $mandatory = GetMandatoryFields($action);
Link Here
|
78 |
my $params = {}; |
78 |
my $params = {}; |
79 |
if ( $action eq 'create' || $action eq 'new' ) { |
79 |
if ( $action eq 'create' || $action eq 'new' ) { |
80 |
my @PatronSelfRegistrationLibraryList = split '\|', C4::Context->preference('PatronSelfRegistrationLibraryList'); |
80 |
my @PatronSelfRegistrationLibraryList = split '\|', C4::Context->preference('PatronSelfRegistrationLibraryList'); |
81 |
$params = { branchcode => { -in => \@PatronSelfRegistrationLibraryList } }; |
81 |
$params = { branchcode => { -in => \@PatronSelfRegistrationLibraryList } } |
|
|
82 |
if @PatronSelfRegistrationLibraryList; |
82 |
} |
83 |
} |
83 |
my @libraries = Koha::Libraries->search($params); |
84 |
my @libraries = Koha::Libraries->search($params); |
84 |
|
85 |
|
85 |
- |
|
|