diff --git a/api/src/Etemplate/Widget/Link.php b/api/src/Etemplate/Widget/Link.php index 8321c3e76e..4db57a3b1d 100644 --- a/api/src/Etemplate/Widget/Link.php +++ b/api/src/Etemplate/Widget/Link.php @@ -418,7 +418,7 @@ class Link extends Etemplate\Widget $already = self::get_array($validated, $form_name, false, true); if($already != null) { - $value = array_merge((array)$value, $already); + $value = array_merge((array)$value, (already)$already); } // Automatically do link if user selected entry but didn't click 'Link' button $link = self::get_array($content, self::form_name($cname, $this->id . '_link_entry'));