[freeside-commits] freeside/httemplate/edit part_pkg.cgi, 1.73, 1.74

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


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

Modified Files:
	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.73
retrieving revision 1.74
diff -u -d -r1.73 -r1.74
--- part_pkg.cgi	10 Oct 2007 17:55:57 -0000	1.73
+++ part_pkg.cgi	13 Oct 2007 17:33:48 -0000	1.74
@@ -162,7 +162,7 @@
 
 </TD><TD VALIGN="top">
 
-% if ( $cgi->param('clone') ) {
+% if ( $cgi->param('clone') || $conf->exists('agent_defaultpkg') ) {
 
     <INPUT TYPE="hidden" NAME="agent_type" VALUE="">
 
@@ -178,7 +178,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