From 4a2699af59b89dd316ad70b87956b2c78765baaf 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 Signed-off-by: Martin Renvoize (cherry picked from commit ea1f6986692d3658bcd7ea72f3c27ee2cdde1727) Signed-off-by: Fridolin Somers --- 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 3ee0051e1a..2d51cfda0d 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.39.5