From 4b416d0fc2946b1e5f54f2cf25c4222712b6a3ce Mon Sep 17 00:00:00 2001 From: "Wm. Nick Clemens" Date: Mon, 9 May 2022 12:41:57 -0400 Subject: [PATCH] Only execute newer code on the affected point releases --- Koha/Plugin/Com/ByWaterSolutions/CoverFlow.pm | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Koha/Plugin/Com/ByWaterSolutions/CoverFlow.pm b/Koha/Plugin/Com/ByWaterSolutions/CoverFlow.pm index f16b49e..5de5323 100644 --- a/Koha/Plugin/Com/ByWaterSolutions/CoverFlow.pm +++ b/Koha/Plugin/Com/ByWaterSolutions/CoverFlow.pm @@ -289,7 +289,7 @@ sub get_report { $sql =~ s/(<<.*?>>)/\?/g; my ( $sth, $errors ); - if ( C4::Context->preference('Version') ge '21.110000' ) { + if ( C4::Context->preference('Version') ge '21.110500' ) { ( $sth, $errors ) = execute_query({ sql => $sql, offset => $offset,