summaryrefslogtreecommitdiff
path: root/httemplate/edit/part_pkg.cgi
diff options
context:
space:
mode:
Diffstat (limited to 'httemplate/edit/part_pkg.cgi')
-rwxr-xr-xhttemplate/edit/part_pkg.cgi4
1 files changed, 2 insertions, 2 deletions
diff --git a/httemplate/edit/part_pkg.cgi b/httemplate/edit/part_pkg.cgi
index 2c8477d8e..7fe659f94 100755
--- a/httemplate/edit/part_pkg.cgi
+++ b/httemplate/edit/part_pkg.cgi
@@ -988,9 +988,9 @@ my $html_bottom = sub {
: ''
). '>';
- } elsif ( $href->{$field}{'type'} eq 'select-rt-customfield' ) {
+ } elsif ( $href->{$field}{'type'} =~ /^select-rt-/ ) {
- $html .= include('/elements/select-rt-customfield.html',
+ $html .= include('/elements/'.$href->{$field}{'type'}.'.html',
'name' => $layer.'__'.$field,
'curr_value' => $options{$field},
map { $_ => $href->{$field}{$_} }