From fdd08793790af7fc739820b2abc3bacc87e9c4af Mon Sep 17 00:00:00 2001 From: tonnesen Date: Tue, 3 Sep 2002 21:04:22 +0000 Subject: [PATCH] replaced > with >= and < with <= in date comparisons. --- C4/Acquisitions.pm | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/C4/Acquisitions.pm b/C4/Acquisitions.pm index cb189a36c6..42412a2669 100644 --- a/C4/Acquisitions.pm +++ b/C4/Acquisitions.pm @@ -347,7 +347,7 @@ sub bookfunds { my $dbh=C4Connect; my $query="Select * from aqbookfund,aqbudget where aqbookfund.bookfundid =aqbudget.bookfundid - and aqbudget.startdate<'$today' and aqbudget.enddate > '$today' + and aqbudget.startdate<='$today' and aqbudget.enddate >= '$today' group by aqbookfund.bookfundid order by bookfundname"; my $sth=$dbh->prepare($query); $sth->execute; -- 2.39.5