From 8ed346365818e449e00d7dfda397744775bc5aa0 Mon Sep 17 00:00:00 2001 From: Martin Renvoize Date: Mon, 14 Oct 2019 09:56:18 +0100 Subject: [PATCH] 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 --- installer/data/mysql/updatedatabase.pl | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/installer/data/mysql/updatedatabase.pl b/installer/data/mysql/updatedatabase.pl index e3fc4ae6d5..2570cd8a28 100755 --- a/installer/data/mysql/updatedatabase.pl +++ b/installer/data/mysql/updatedatabase.pl @@ -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 = ? -- 2.11.0