From e9383deaee5f384ac41e59294e2c65cb1a961e7c Mon Sep 17 00:00:00 2001 From: Roland Becker Date: Sun, 12 Aug 2012 12:19:56 +0200 Subject: [PATCH] Fix #14587: Dynamic value lists of enumeration custom fields not working for category --- core/custom_function_api.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/core/custom_function_api.php b/core/custom_function_api.php index 35d42018ce..38c2ca91f4 100644 --- a/core/custom_function_api.php +++ b/core/custom_function_api.php @@ -413,7 +413,7 @@ function custom_function_default_enum_categories() { $t_enum = array(); foreach( $t_categories as $t_category ) { - $t_enum[] = $t_category['category']; + $t_enum[] = $t_category['name']; } $t_possible_values = implode( '|', $t_enum );