From 816b4537e9147db4d04ad9308baeab609fc9e7c8 Mon Sep 17 00:00:00 2001 From: Marcel de Rooy Date: Wed, 25 Jun 2025 15:47:45 +0200 Subject: [PATCH] Bug 40242: Remove double operator in Quotes.pm Test plan: Read patch. Run t/db_dependent/Koha/Quotes.t Signed-off-by: Marcel de Rooy Signed-off-by: Lucas Gass (cherry picked from commit 0ed2b7cfa88c591388c8cc61d2a954e986643468) Signed-off-by: Paul Derscheid --- Koha/Quotes.pm | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Koha/Quotes.pm b/Koha/Quotes.pm index 95eccd50d4..9dadb5de8d 100644 --- a/Koha/Quotes.pm +++ b/Koha/Quotes.pm @@ -71,7 +71,7 @@ sub get_daily_quote { my $dt = $dtf->format_date(dt_from_string); $quote = $self->search( { - timestamp => { -between => => [ "$dt 00:00:00", "$dt 23:59:59" ] }, + timestamp => { -between => [ "$dt 00:00:00", "$dt 23:59:59" ] }, }, { order_by => { -desc => 'timestamp' },