summaryrefslogtreecommitdiff
path: root/httemplate/elements/select-pkg_class.html
diff options
context:
space:
mode:
Diffstat (limited to 'httemplate/elements/select-pkg_class.html')
-rw-r--r--httemplate/elements/select-pkg_class.html7
1 files changed, 4 insertions, 3 deletions
diff --git a/httemplate/elements/select-pkg_class.html b/httemplate/elements/select-pkg_class.html
index 5486e0877..032c7abda 100644
--- a/httemplate/elements/select-pkg_class.html
+++ b/httemplate/elements/select-pkg_class.html
@@ -1,16 +1,17 @@
<%
my( $classnum, %opt ) = @_;
- my %select_opt = ();
- $select_opt{'records'} = $opt{'pkg_class'}
+ $opt{'records'} = delete $opt{'pkg_class'}
if $opt{'pkg_class'};
+ #warn "***** select-pkg-class: \n". Dumper(%opt);
+
%><%= include( '/elements/select-table.html',
'table' => 'pkg_class',
'name_col' => 'classname',
'value' => $classnum,
'empty_label' => '(none)',
#'hashref' => { 'disabled' => '' },
- #%select_opt,
+ %opt,
)
%>