forked from extern/egroupware
*infolog, notification: allow the values of select fields to show, actually everything that has an array as value-range and the key saved is found in that range will be shown, else the saved key will be displayed
This commit is contained in:
parent
e4ef70dd02
commit
792027ab82
@ -249,7 +249,7 @@ class infolog_tracking extends bo_tracking
|
||||
}
|
||||
$details['#'.$name] = array(
|
||||
'label' => $field['label'],
|
||||
'value' => $data['#'.$name],
|
||||
'value' => (is_array($field['values']) && !empty($field['values']) && array_key_exists($data['#'.$name],$field['values']))?$field['values'][$data['#'.$name]] : $data['#'.$name],
|
||||
);
|
||||
}
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user