Do not set end date to current time, just leave it unset

This commit is contained in:
nathangray 2016-05-24 15:01:20 -06:00
parent deedf7a808
commit aa0814f4d0

View File

@ -472,8 +472,7 @@ class timesheet_ui extends timesheet_bo
{ {
$this->show_sums = false; $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'] ? $query_in['enddate'] : false);
$date_filter = $this->date_filter($query_in['filter'],$query_in['startdate'],$query_in['enddate']);
if ($query_in['startdate']) if ($query_in['startdate'])
{ {