mirror of
https://github.com/EGroupware/egroupware.git
synced 2024-11-24 17:04:14 +01:00
fix PHP 8.0 TypeError: Illegal offset type in Api\Categories::id2name()
This commit is contained in:
parent
4d08b1412d
commit
dd75857277
@ -212,6 +212,10 @@ class infolog_tracking extends Api\Storage\Tracking
|
|||||||
{
|
{
|
||||||
$id = ' #'.$data['info_id'];
|
$id = ' #'.$data['info_id'];
|
||||||
}
|
}
|
||||||
|
if (is_array($data['info_cat']))
|
||||||
|
{
|
||||||
|
$data['info_cat'] = array_shift($data['info_cat']);
|
||||||
|
}
|
||||||
foreach(array(
|
foreach(array(
|
||||||
'info_type' => lang($this->infolog->enums['type'][$data['info_type']]).$id,
|
'info_type' => lang($this->infolog->enums['type'][$data['info_type']]).$id,
|
||||||
'info_from' => $data['info_from'],
|
'info_from' => $data['info_from'],
|
||||||
|
Loading…
Reference in New Issue
Block a user