mirror of
https://github.com/EGroupware/egroupware.git
synced 2024-12-28 01:28:53 +01:00
Fix php8.0 (TypeError): Cannot access offset of type string on string
This commit is contained in:
parent
90597e1dea
commit
045ac185cf
@ -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