projects
/
freeside.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
e5aef82
)
prevent inadvertantly losing disabled package defs, service defs or package classes...
author
ivan
<ivan>
Wed, 21 Apr 2010 08:57:12 +0000
(08:57 +0000)
committer
ivan
<ivan>
Wed, 21 Apr 2010 08:57:12 +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
e11f020
..
2127d9a
100644
(file)
--- 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 ) {