Bug 23809: Correction to selectall_arrayref call.

This patch adds the missing `{ Slice => {} }` attribute to the database
call introduced in bug 23265 to fix the use of Koha::Objects introduced
originally in bug 12063.

Signed-off-by: Jonathan Druart <jonathan.druart@bugs.koha-community.org>
Signed-off-by: Martin Renvoize <martin.renvoize@ptfs-europe.com>
This commit is contained in:
Martin Renvoize 2019-10-14 09:56:18 +01:00
parent b9086738e9
commit ea1f698669
No known key found for this signature in database
GPG Key ID: 422B469130441A0F
1 changed files with 1 additions and 1 deletions

View File

@ -14358,7 +14358,7 @@ if( CheckVersion( $DBversion ) ) {
SELECT expirationdate, waitingdate, branchcode
FROM reserves
WHERE found = 'W' AND priority = 0
|);
|, { Slice => {} });
my $update_sth = $dbh->prepare(q|
UPDATE reserves
SET expirationdate = ?