mirror of
https://github.com/EGroupware/egroupware.git
synced 2025-02-18 03:11:40 +01:00
Timesheet: Avoid error when opening list caused by incorrect 'All' value in filter
This commit is contained in:
parent
81378fe3a5
commit
db7b9f0abb
@ -934,7 +934,7 @@ class timesheet_ui extends timesheet_bo
|
|||||||
);
|
);
|
||||||
if (!is_array($content['nm']))
|
if (!is_array($content['nm']))
|
||||||
{
|
{
|
||||||
$date_filters = array('All');
|
$date_filters = array('' => 'All');
|
||||||
foreach(array_keys($this->date_filters) as $name)
|
foreach(array_keys($this->date_filters) as $name)
|
||||||
{
|
{
|
||||||
$date_filters[$name] = $name;
|
$date_filters[$name] = $name;
|
||||||
|
Loading…
Reference in New Issue
Block a user