From 33e2a4217922bbe6d130cbf2c29e209aadc9a452 Mon Sep 17 00:00:00 2001 From: "Bradley M. Kuhn" Date: Tue, 10 Jan 2017 11:22:24 -0800 Subject: [PATCH] Should be possible to release and act in same day. --- Supporters/lib/Supporters.pm | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Supporters/lib/Supporters.pm b/Supporters/lib/Supporters.pm index 64d53e1..9f9fce5 100644 --- a/Supporters/lib/Supporters.pm +++ b/Supporters/lib/Supporters.pm @@ -1129,7 +1129,7 @@ sub getRequest($$;$) { $self->dbh->quote($requestId, 'SQL_INTEGER'), 'request_id'); if (defined $holdReq and defined $holdReq->{$requestId} and defined $holdReq->{$requestId}{id}) { - return undef if $ignoreHeldRequests and ($TODAY le $holdReq->{$requestId}{release_date}); + return undef if $ignoreHeldRequests and ($TODAY lt $holdReq->{$requestId}{release_date}); $rsp->{holdDate} = $holdReq->{$requestId}{hold_date}; $rsp->{holdReleaseDate} = $holdReq->{$requestId}{release_date}; $rsp->{holder} = $holdReq->{$requestId}{who};