diff --git a/api/src/Etemplate/Widget/Link.php b/api/src/Etemplate/Widget/Link.php index 85b3bb1f90..bd92bb91f3 100644 --- a/api/src/Etemplate/Widget/Link.php +++ b/api/src/Etemplate/Widget/Link.php @@ -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']] ); }