mirror of
https://github.com/EGroupware/egroupware.git
synced 2024-12-28 01:29:05 +01:00
fix PHP 8.0 TypeError: array_merge(): Argument #1 must be of type array, null given
This commit is contained in:
parent
a99eb13066
commit
72a7039dce
@ -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