Skip to content

Commit d5b3447

Browse files
committedAug 12, 2012
Fix #14587: Dynamic value lists of enumeration custom fields not working for category
1 parent 2dcf6fa commit d5b3447

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed
 

‎core/custom_function_api.php

+1-1
Original file line numberDiff line numberDiff line change
@@ -422,7 +422,7 @@ function custom_function_default_enum_categories() {
422422

423423
$t_enum = array();
424424
foreach( $t_categories as $t_category ) {
425-
$t_enum[] = $t_category['category'];
425+
$t_enum[] = $t_category['name'];
426426
}
427427

428428
$t_possible_values = implode( '|', $t_enum );

0 commit comments

Comments
 (0)
Please sign in to comment.