[freeside-commits] freeside/httemplate/elements tr-select-pkg_class.html, 1.5, 1.6
Jeff Finucane,420,,
jeff at wavetail.420.am
Mon Oct 5 08:07:42 PDT 2009
Update of /home/cvs/cvsroot/freeside/httemplate/elements
In directory wavetail.420.am:/tmp/cvs-serv19745
Modified Files:
tr-select-pkg_class.html
Log Message:
remove unused option that DTWT
Index: tr-select-pkg_class.html
===================================================================
RCS file: /home/cvs/cvsroot/freeside/httemplate/elements/tr-select-pkg_class.html,v
retrieving revision 1.5
retrieving revision 1.6
diff -u -d -r1.5 -r1.6
--- tr-select-pkg_class.html 1 Aug 2007 22:25:10 -0000 1.5
+++ tr-select-pkg_class.html 5 Oct 2009 15:07:40 -0000 1.6
@@ -1,4 +1,4 @@
-% if ( scalar(@{ $opt{'pkg_class'} }) == 0 ) {
+% if ( $count == 0 ) {
<INPUT TYPE="hidden" NAME="<% $opt{'field'} || 'classnum' %>" VALUE="">
@@ -22,6 +22,6 @@
my %opt = @_;
my $classnum = $opt{'curr_value'} || $opt{'value'};
-$opt{'pkg_class'} ||= [ qsearch( 'pkg_class', {} ) ]; # { disabled=>'' } )
+my $count = scalar( qsearch( 'pkg_class', {} ) );
</%init>
More information about the freeside-commits
mailing list