mirror of
https://github.com/EGroupware/egroupware.git
synced 2024-11-24 17:04:14 +01:00
fix array_merge(): Argument #1 must be of type array, null given
This commit is contained in:
parent
fdeab71931
commit
639aa1055f
@ -214,7 +214,7 @@ class Link extends Etemplate\Widget
|
|||||||
{
|
{
|
||||||
$only_id = $link;
|
$only_id = $link;
|
||||||
$link = array_merge(
|
$link = array_merge(
|
||||||
$only_links[$link][$link_id],
|
$only_links[$link][$link_id] ?? [],
|
||||||
['id' => $only_id, 'app' => $value['only_app']]
|
['id' => $only_id, 'app' => $value['only_app']]
|
||||||
);
|
);
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user