Skip to content
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.

Commit e9383de

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

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
@@ -413,7 +413,7 @@ function custom_function_default_enum_categories() {
413413

414414
$t_enum = array();
415415
foreach( $t_categories as $t_category ) {
416-
$t_enum[] = $t_category['category'];
416+
$t_enum[] = $t_category['name'];
417417
}
418418

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

0 commit comments

Comments
 (0)
Please sign in to comment.