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 b2922e300a
commit 672a0af913

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']]
);
}