mirror of
https://github.com/EGroupware/egroupware.git
synced 2025-02-15 01:39:34 +01:00
Fix TypeError about string array index on string
This commit is contained in:
parent
69f7ea7687
commit
5092b663f4
@ -414,7 +414,7 @@ class Link extends Etemplate\Widget
|
|||||||
$value = $value_in =& self::get_array($content, $form_name, false, true);
|
$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)
|
// 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))
|
if(!is_array($value))
|
||||||
{
|
{
|
||||||
|
Loading…
Reference in New Issue
Block a user