mirror of
https://github.com/EGroupware/egroupware.git
synced 2025-01-03 12:39:25 +01:00
"fixed link_widget to link-entry widgets and application type custom fields working again"
This commit is contained in:
parent
814eb013f1
commit
f713c095b2
@ -463,10 +463,10 @@ class link_widget
|
|||||||
$tmpl->set_validation_error($name,lang('Field must not be empty !!!'),'');
|
$tmpl->set_validation_error($name,lang('Field must not be empty !!!'),'');
|
||||||
return true;
|
return true;
|
||||||
}
|
}
|
||||||
if (isset($extension_data['default']))
|
if (is_array($extension_data['default']))
|
||||||
{
|
{
|
||||||
$value = $extension_data['default'];
|
$value = $extension_data['default'];
|
||||||
$value['current']=$value_in['app'].':'.$value_in['id'];
|
$value['current'] = $extension_data['app'] ? $value_in['id'] : $value_in['app'].':'.$value_in['id'];
|
||||||
}
|
}
|
||||||
else
|
else
|
||||||
{
|
{
|
||||||
|
Loading…
Reference in New Issue
Block a user