mirror of
https://github.com/EGroupware/egroupware.git
synced 2025-01-13 17:38:28 +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;
|
$need_reload = true;
|
||||||
}
|
}
|
||||||
|
|
||||||
$this->favorite = $context['favorite'];
|
$this->favorite = (array)$context['favorite'];
|
||||||
$this->title = lang($context['appname']) . ': ' . $this->favorite['name'];
|
$this->title = lang($context['appname']) . ': ' . $this->favorite['name'];
|
||||||
$this->context = $context;
|
$this->context = $context;
|
||||||
if($this->favorite)
|
if($this->favorite)
|
||||||
|
Loading…
Reference in New Issue
Block a user