From f0af5eeb085a24b74e0a3e8e279743d875b90825 Mon Sep 17 00:00:00 2001 From: Hadi Nategh Date: Wed, 25 May 2016 09:52:16 +0200 Subject: [PATCH] End date needs to be passed by reference, fixes broken timesheet from commit aa0814f --- timesheet/inc/class.timesheet_ui.inc.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/timesheet/inc/class.timesheet_ui.inc.php b/timesheet/inc/class.timesheet_ui.inc.php index 5adcb78d50..02b4a6f9b9 100644 --- a/timesheet/inc/class.timesheet_ui.inc.php +++ b/timesheet/inc/class.timesheet_ui.inc.php @@ -472,7 +472,7 @@ class timesheet_ui extends timesheet_bo { $this->show_sums = false; - $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']) {