mirror of
https://github.com/EGroupware/egroupware.git
synced 2024-12-22 23:00:56 +01:00
fix TypeError array_merge() parameter #1 must be of type array, string given
This commit is contained in:
parent
a234bb2d0c
commit
abb517de02
@ -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'));
|
||||
|
Loading…
Reference in New Issue
Block a user