From e522141b42647c31c9e9d1ad9e4008a2c3fb3c0c Mon Sep 17 00:00:00 2001 From: Ralf Becker Date: Fri, 7 Dec 2007 08:14:50 +0000 Subject: [PATCH] "using the labels of selectbox-customfields instead of the values in notifications" --- addressbook/inc/class.addressbook_tracking.inc.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/addressbook/inc/class.addressbook_tracking.inc.php b/addressbook/inc/class.addressbook_tracking.inc.php index a263390154..21060aeb87 100644 --- a/addressbook/inc/class.addressbook_tracking.inc.php +++ b/addressbook/inc/class.addressbook_tracking.inc.php @@ -228,7 +228,7 @@ class addressbook_tracking extends bo_tracking } $details['#'.$name] = array( 'label' => $custom['label'], - 'value' => $data['#'.$name], + 'value' => $custom['type'] == 'select' ? $custom['values'][$data['#'.$name]] : $data['#'.$name], ); } }