diff --git a/timesheet/inc/class.timesheet_hooks.inc.php b/timesheet/inc/class.timesheet_hooks.inc.php index 8344a4c6a7..45b2bae82e 100644 --- a/timesheet/inc/class.timesheet_hooks.inc.php +++ b/timesheet/inc/class.timesheet_hooks.inc.php @@ -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('