mirror of
https://github.com/EGroupware/egroupware.git
synced 2024-11-22 07:53:39 +01:00
Fix php8.0 (TypeError): Cannot access offset of type string on string
This commit is contained in:
parent
392a27b77c
commit
77aa807036
@ -345,7 +345,7 @@ class calendar_uiviews extends calendar_ui
|
||||
'caption' => 'Weekend',
|
||||
'icon' => '7_day_view',
|
||||
'checkbox' => true,
|
||||
'checked' => $this->cal_prefs['saved_states']['weekend'],
|
||||
'checked' => is_array($this->cal_prefs['saved_states']) ? $this->cal_prefs['saved_states']['weekend']:false,
|
||||
'group' => $group,
|
||||
'onExecute' => 'javaScript:app.calendar.toolbar_action',
|
||||
'hint' => 'Toggle weekend',
|
||||
|
Loading…
Reference in New Issue
Block a user