[freeside-commits] freeside/httemplate/edit part_pkg.cgi, 1.67.2.2, 1.67.2.3

Jeff Finucane,420,, jeff at wavetail.420.am
Sat Oct 13 10:19:44 PDT 2007


Update of /home/cvs/cvsroot/freeside/httemplate/edit
In directory wavetail:/tmp/cvs-serv26651/httemplate/edit

Modified Files:
      Tag: FREESIDE_1_7_BRANCH
	part_pkg.cgi 
Log Message:
correct agent_defaultpkg handling

Index: part_pkg.cgi
===================================================================
RCS file: /home/cvs/cvsroot/freeside/httemplate/edit/part_pkg.cgi,v
retrieving revision 1.67.2.2
retrieving revision 1.67.2.3
diff -u -d -r1.67.2.2 -r1.67.2.3
--- part_pkg.cgi	8 Oct 2007 20:59:42 -0000	1.67.2.2
+++ part_pkg.cgi	13 Oct 2007 17:19:41 -0000	1.67.2.3
@@ -159,7 +159,7 @@
 
 </TD><TD VALIGN="top">
 
-%if ( $cgi->param('clone') ) {
+%if ( $cgi->param('clone') || $conf->exists('agent_defaultpkg') ) {
   <INPUT TYPE="hidden" NAME="agent_type" VALUE="">
 %}else{
 Reseller information
@@ -172,7 +172,7 @@
                   'table'        => 'agent_type',
   		  'name_col'     => 'atype',
   		  'value'        => \@agent_type,
-  		  'empty_label'  => '(none)',
+  		  'empty_label'  => 'select agent types',
   		  'element_etc'  => 'multiple size="10"',
                 )
       %>



More information about the freeside-commits mailing list