diff options
Diffstat (limited to 'httemplate/elements/select-part_pkg.html')
-rw-r--r-- | httemplate/elements/select-part_pkg.html | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/httemplate/elements/select-part_pkg.html b/httemplate/elements/select-part_pkg.html index e11f02038..2127d9ab0 100644 --- a/httemplate/elements/select-part_pkg.html +++ b/httemplate/elements/select-part_pkg.html @@ -34,7 +34,8 @@ my( %opt ) = @_; $opt{'records'} = delete $opt{'part_pkg'} if $opt{'part_pkg'}; -my %hash = ( 'disabled' => '' ); +my %hash = (); +$hash{'disabled'} = '' unless $opt{'showdisabled'}; if ( exists($opt{'classnum'}) && defined($opt{'classnum'}) ) { if ( $opt{'classnum'} > 0 ) { |