[freeside-commits] freeside/httemplate/elements select-part_pkg.html, 1.4, 1.4.2.1
Ivan,,,
ivan at wavetail.420.am
Wed Apr 21 01:57:15 PDT 2010
Update of /home/cvs/cvsroot/freeside/httemplate/elements
In directory wavetail.420.am:/tmp/cvs-serv30830/elements
Modified Files:
Tag: FREESIDE_1_9_BRANCH
select-part_pkg.html
Log Message:
prevent inadvertantly losing disabled package defs, service defs or package classes in a config value that uses them (i.e. support_packages)
Index: select-part_pkg.html
===================================================================
RCS file: /home/cvs/cvsroot/freeside/httemplate/elements/select-part_pkg.html,v
retrieving revision 1.4
retrieving revision 1.4.2.1
diff -u -w -d -r1.4 -r1.4.2.1
--- select-part_pkg.html 28 Mar 2009 22:59:35 -0000 1.4
+++ select-part_pkg.html 21 Apr 2010 08:57:13 -0000 1.4.2.1
@@ -33,7 +33,8 @@
$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 ) {
More information about the freeside-commits
mailing list