From 4af0a13ff3ad34cd526ed0dbad359362be45589f 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 (cherry picked from commit 816b4537e9147db4d04ad9308baeab609fc9e7c8) Signed-off-by: Fridolin Somers --- Koha/Quotes.pm | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Koha/Quotes.pm b/Koha/Quotes.pm index d9fc43f9bf..dc43089af4 100644 --- a/Koha/Quotes.pm +++ b/Koha/Quotes.pm @@ -72,7 +72,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' },