mirror of
https://github.com/EGroupware/egroupware.git
synced 2024-11-24 17:04:14 +01:00
quiten error / dont stall, if 22.1 update is not yet run
This commit is contained in:
parent
6764ef979b
commit
a767bdef1e
@ -232,7 +232,7 @@ class timesheet_hooks
|
||||
{
|
||||
$state = Events::timerState();
|
||||
// only send/display if at least one timer is not disabled
|
||||
if (array_diff(['specific', 'overall'], $state['disable']))
|
||||
if (array_diff(['specific', 'overall'], $state['disable'] ?? []))
|
||||
{
|
||||
$GLOBALS['egw']->framework->_add_topmenu_info_item('<div id="topmenu_timer" title="'.
|
||||
lang('Start & stop timer').'"'.
|
||||
|
Loading…
Reference in New Issue
Block a user