mirror of
https://github.com/EGroupware/egroupware.git
synced 2024-12-22 23:00:56 +01: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(!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']['@'])
|
||||
{
|
||||
|
Loading…
Reference in New Issue
Block a user