From 8cc48c6059d05fb54bf714aaddc168c8043e24ed Mon Sep 17 00:00:00 2001 From: Jonathan Prykop Date: Mon, 18 Jul 2016 19:29:59 -0500 Subject: RT#38973: Bill for time worked on ticket resolution [fully functional] --- httemplate/edit/part_pkg.cgi | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'httemplate/edit/part_pkg.cgi') 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}{$_} } -- cgit v1.2.1