[freeside-commits] freeside/httemplate/elements select-part_pkg.html, 1.5, 1.6

Ivan,,, ivan at wavetail.420.am
Wed Apr 21 01:57:14 PDT 2010


Update of /home/cvs/cvsroot/freeside/httemplate/elements
In directory wavetail.420.am:/tmp/cvs-serv30821/elements

Modified Files:
	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.5
retrieving revision 1.6
diff -u -w -d -r1.5 -r1.6
--- select-part_pkg.html	30 Jan 2010 20:05:16 -0000	1.5
+++ select-part_pkg.html	21 Apr 2010 08:57:12 -0000	1.6
@@ -34,7 +34,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