forked from extern/egroupware
fix PHP 8.0 TypeError: array_merge(): Argument #1 must be of type array, null given
This commit is contained in:
parent
7cd6284f0c
commit
8063b9a8ef
@ -373,7 +373,7 @@ class Link extends Etemplate\Widget
|
||||
$already = self::get_array($validated,$form_name);
|
||||
if($already != null)
|
||||
{
|
||||
$value = array_merge($value,$already);
|
||||
$value = array_merge((array)$value, $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'));
|
||||
|
Loading…
Reference in New Issue
Block a user