projects
/
freeside.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
c325da0
)
prevent inadvertantly losing disabled package defs, service defs or package classes...
author
ivan
<ivan>
Wed, 21 Apr 2010 08:57:13 +0000
(08:57 +0000)
committer
ivan
<ivan>
Wed, 21 Apr 2010 08:57:13 +0000
(08:57 +0000)
httemplate/elements/select-part_pkg.html
patch
|
blob
|
history
diff --git
a/httemplate/elements/select-part_pkg.html
b/httemplate/elements/select-part_pkg.html
index
6b697ab
..
71066eb
100644
(file)
--- a/
httemplate/elements/select-part_pkg.html
+++ b/
httemplate/elements/select-part_pkg.html
@@
-33,7
+33,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 ) {