mirror of
https://github.com/EGroupware/egroupware.git
synced 2024-12-22 06:30:59 +01:00
fix PHP 8.0 TypeError: Cannot access offset of type string on string
This commit is contained in:
parent
59eff1db26
commit
db88ad9c0d
@ -355,7 +355,8 @@ class infolog_ui
|
|||||||
}
|
}
|
||||||
|
|
||||||
// Querying for a particular ID. If linked is a list of IDs, reset the linked or we won't find the ID we want.
|
// Querying for a particular ID. If linked is a list of IDs, reset the linked or we won't find the ID we want.
|
||||||
if($query['col_filter']['info_id'] && $link_filters['linked'] && !$link_filters['linked']['app'])
|
if (!empty($query['col_filter']['info_id']) && !empty($link_filters['linked']) &&
|
||||||
|
(!is_array($link_filters['linked']) || empty($link_filters['linked']['app'])))
|
||||||
{
|
{
|
||||||
unset($links['linked']);
|
unset($links['linked']);
|
||||||
unset($link_filters['linked']);
|
unset($link_filters['linked']);
|
||||||
|
Loading…
Reference in New Issue
Block a user