diff --git a/api/src/Etemplate/Widget/Link.php b/api/src/Etemplate/Widget/Link.php index 970cee5a81..70837994a7 100644 --- a/api/src/Etemplate/Widget/Link.php +++ b/api/src/Etemplate/Widget/Link.php @@ -414,7 +414,7 @@ class Link extends Etemplate\Widget $value = $value_in =& self::get_array($content, $form_name, false, true); // keep values added into request by other ajax-functions, eg. files draged into htmlarea (Vfs) - if((!$value || is_array($value) && !$value['to_id']) && is_array($expand['cont'][$this->id]) && !empty($expand['cont'][$this->id]['to_id'])) + if((!$value || is_array($value) && !$value['to_id']) && is_array($expand['cont']) && is_array($expand['cont'][$this->id]) && !empty($expand['cont'][$this->id]['to_id'])) { if(!is_array($value)) {