mirror of
https://github.com/EGroupware/egroupware.git
synced 2025-06-19 17:38:06 +02:00
finetuning history log display for custom fields
This commit is contained in:
parent
bbf3778172
commit
40c4477b23
@ -164,9 +164,9 @@ class historylog_widget
|
|||||||
}
|
}
|
||||||
if (isset($status_widgets['#'.$cf_name])) continue; // app set a status widget --> use that
|
if (isset($status_widgets['#'.$cf_name])) continue; // app set a status widget --> use that
|
||||||
|
|
||||||
if(!is_array($cf_data['values']))
|
if(!is_array($cf_data['values']) || !$cf_data['values'])
|
||||||
{
|
{
|
||||||
$status_widgets['#'.$cf_name] = $cf_data['type'];
|
$status_widgets['#'.$cf_name] = $cf_data['type'] != 'text' ? $cf_data['type'] : 'label';
|
||||||
}
|
}
|
||||||
elseif($cf_data['values']['@'])
|
elseif($cf_data['values']['@'])
|
||||||
{
|
{
|
||||||
|
Loading…
x
Reference in New Issue
Block a user