Timesheet: Avoid error when opening list caused by incorrect 'All' value in filter

This commit is contained in:
nathan 2022-08-23 08:59:25 -06:00
parent 81378fe3a5
commit db7b9f0abb

View File

@ -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;