From aa0814f4d040f9df1ee468056b1ed386ad8a7851 Mon Sep 17 00:00:00 2001 From: nathangray Date: Tue, 24 May 2016 15:01:20 -0600 Subject: [PATCH] Do not set end date to current time, just leave it unset --- timesheet/inc/class.timesheet_ui.inc.php | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/timesheet/inc/class.timesheet_ui.inc.php b/timesheet/inc/class.timesheet_ui.inc.php index 60ee192688..5adcb78d50 100644 --- a/timesheet/inc/class.timesheet_ui.inc.php +++ b/timesheet/inc/class.timesheet_ui.inc.php @@ -472,8 +472,7 @@ class timesheet_ui extends timesheet_bo { $this->show_sums = false; - $query_in['enddate'] = $query_in['enddate'] ? $query_in['enddate'] : time(); - $date_filter = $this->date_filter($query_in['filter'],$query_in['startdate'],$query_in['enddate']); + $date_filter = $this->date_filter($query_in['filter'],$query_in['startdate'],$query_in['enddate'] ? $query_in['enddate'] : false); if ($query_in['startdate']) {