"using the labels of selectbox-customfields instead of the values in notifications"

This commit is contained in:
Ralf Becker 2007-12-07 08:14:50 +00:00
parent e13da61106
commit e522141b42

View File

@ -228,7 +228,7 @@ class addressbook_tracking extends bo_tracking
} }
$details['#'.$name] = array( $details['#'.$name] = array(
'label' => $custom['label'], 'label' => $custom['label'],
'value' => $data['#'.$name], 'value' => $custom['type'] == 'select' ? $custom['values'][$data['#'.$name]] : $data['#'.$name],
); );
} }
} }