@@ -, +, @@ acquisition module Can't use an undefined value as an ARRAY reference at /home/koha/src/acqui/check_uniqueness.pl line 48. --- C4/Items.pm | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) --- a/C4/Items.pm +++ a/C4/Items.pm @@ -2608,10 +2608,10 @@ For instance you can search all items with a specific stocknumber like this: sub SearchItemsByField { my ($field, $value) = @_; - my $filters = [ { - field => $field, - query => $value, - } ]; + my $filters = { + field => $field, + query => $value, + }; my ($results) = SearchItems($filters); return $results; --