mirror of
https://github.com/EGroupware/egroupware.git
synced 2024-11-07 08:34:29 +01:00
Fix PHP8.0 error Cannot access offset of type string on string
This commit is contained in:
parent
3003ed580c
commit
6d2a4bfc05
@ -94,7 +94,7 @@ class home_favorite_portlet extends home_portlet
|
||||
$need_reload = true;
|
||||
}
|
||||
|
||||
$this->favorite = $context['favorite'];
|
||||
$this->favorite = (array)$context['favorite'];
|
||||
$this->title = lang($context['appname']) . ': ' . $this->favorite['name'];
|
||||
$this->context = $context;
|
||||
if($this->favorite)
|
||||
|
Loading…
Reference in New Issue
Block a user