fix array_merge(): Argument #1 must be of type array, null given

This commit is contained in:
ralf 2024-10-24 11:51:31 +02:00
parent fdeab71931
commit 639aa1055f

View File

@ -214,7 +214,7 @@ class Link extends Etemplate\Widget
{
$only_id = $link;
$link = array_merge(
$only_links[$link][$link_id],
$only_links[$link][$link_id] ?? [],
['id' => $only_id, 'app' => $value['only_app']]
);
}