From db7b9f0abb8f7bbee10846cbb3fc618b1e6d9487 Mon Sep 17 00:00:00 2001 From: nathan Date: Tue, 23 Aug 2022 08:59:25 -0600 Subject: [PATCH] Timesheet: Avoid error when opening list caused by incorrect 'All' value in filter --- 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 7ed7ca7c4b..8c1914a913 100644 --- a/timesheet/inc/class.timesheet_ui.inc.php +++ b/timesheet/inc/class.timesheet_ui.inc.php @@ -934,7 +934,7 @@ class timesheet_ui extends timesheet_bo ); if (!is_array($content['nm'])) { - $date_filters = array('All'); + $date_filters = array('' => 'All'); foreach(array_keys($this->date_filters) as $name) { $date_filters[$name] = $name;