From 2cd37d90b157bf7429047c77586f1550b4c4543b Mon Sep 17 00:00:00 2001 From: Uwe Steinmann Date: Wed, 10 Jun 2015 19:14:07 +0200 Subject: [PATCH] send end date to end of day --- op/op.Search.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/op/op.Search.php b/op/op.Search.php index 9c7ca3731..d2b75aef3 100644 --- a/op/op.Search.php +++ b/op/op.Search.php @@ -274,7 +274,7 @@ if(isset($_GET["fullsearch"]) && $_GET["fullsearch"]) { } if(isset($_GET["createend"])) { $tmp = explode("-", $_GET["createend"]); - $stopdate = array('year'=>(int)$tmp[2], 'month'=>(int)$tmp[1], 'day'=>(int)$tmp[0], 'hour'=>0, 'minute'=>0, 'second'=>0); + $stopdate = array('year'=>(int)$tmp[2], 'month'=>(int)$tmp[1], 'day'=>(int)$tmp[0], 'hour'=>23, 'minute'=>59, 'second'=>59); } else { if(isset($_GET["createendyear"])) $stopdate = array('year'=>$_GET["createendyear"], 'month'=>$_GET["createendmonth"], 'day'=>$_GET["createendday"], 'hour'=>23, 'minute'=>59, 'second'=>59);