mirror of
https://github.com/EGroupware/egroupware.git
synced 2024-11-23 00:13:35 +01:00
*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
17a3b1e179
commit
15808d3bc8
@ -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