diff --git a/comp/widgets/container_prof/field.mc b/comp/widgets/container_prof/field.mc index ec6a4a7d7..2d22eeccf 100755 --- a/comp/widgets/container_prof/field.mc +++ b/comp/widgets/container_prof/field.mc @@ -88,7 +88,7 @@ if ($vals->{props}{type} eq 'checkbox') { # Set the array of possible values, if necessary. if ( my $tmp = $vals->{props}{vals} ) { if ($vals->{props}{type} eq 'codeselect') { - $vals->{props}{vals} = eval_codeselect($tmp); + $vals->{props}{vals} = eval_codeselect($tmp, $element); } else { my $val_prop; foreach my $line (split /\n/, $tmp) {