Bug 25266: Fix error when no later order
If no late order we got: "Argument passed to the 'IN' operator can not be undefined" It highlights a context error Signed-off-by: Katrin Fischer <katrin.fischer.83@web.de> Signed-off-by: Alex Arnaud <alex.arnaud@biblibre.com> Signed-off-by: Jonathan Druart <jonathan.druart@bugs.koha-community.org>
This commit is contained in:
parent
3ce4024fcb
commit
7531f66a92
1 changed files with 1 additions and 1 deletions
|
@ -151,7 +151,7 @@ my @lateorders = Koha::Acquisition::Orders->filter_by_lates(
|
|||
my $booksellers = Koha::Acquisition::Booksellers->search(
|
||||
{
|
||||
id => {
|
||||
-in => map { $_->basket->booksellerid } @lateorders
|
||||
-in => [ map { $_->basket->booksellerid } @lateorders ]
|
||||
},
|
||||
}
|
||||
);
|
||||
|
|
Loading…
Reference in a new issue