Bug 23391: Remove warnings
t/db_dependent/api/v1/illrequests.t .. Use of uninitialized value $hidden_statuses_string in split at /kohadevbox/koha/Koha/REST/V1/Illrequests.pm line 61. Use of uninitialized value $hidden_statuses_string in split at /kohadevbox/koha/Koha/REST/V1/Illrequests.pm line 61. Use of uninitialized value $hidden_statuses_string in split at /kohadevbox/koha/Koha/REST/V1/Illrequests.pm line 61. Use of uninitialized value $hidden_statuses_string in split at /kohadevbox/koha/Koha/REST/V1/Illrequests.pm line 61. Use of uninitialized value $hidden_statuses_string in split at /kohadevbox/koha/Koha/REST/V1/Illrequests.pm line 61. t/db_dependent/api/v1/illrequests.t .. ok Signed-off-by: Jonathan Druart <jonathan.druart@bugs.koha-community.org>
This commit is contained in:
parent
884b3e71d8
commit
730df3b1a5
1 changed files with 1 additions and 1 deletions
|
@ -56,7 +56,7 @@ sub list {
|
|||
}
|
||||
|
||||
# Get the pipe-separated string of hidden ILL statuses
|
||||
my $hidden_statuses_string = C4::Context->preference('ILLHiddenRequestStatuses');
|
||||
my $hidden_statuses_string = C4::Context->preference('ILLHiddenRequestStatuses') // q{};
|
||||
# Turn into arrayref
|
||||
my $hidden_statuses = [ split /\|/, $hidden_statuses_string ];
|
||||
|
||||
|
|
Loading…
Reference in a new issue