mirror of
https://github.com/EGroupware/egroupware.git
synced 2024-12-25 16:18:57 +01:00
Fix PHP8.0 error Cannot access offset of type string on string
This commit is contained in:
parent
11e7683762
commit
379eb053a3
@ -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