[freeside-commits] freeside/httemplate/edit part_pkg.cgi, 1.106, 1.107

Ivan,,, ivan at wavetail.420.am
Fri May 8 01:41:12 PDT 2009


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

Modified Files:
	part_pkg.cgi 
Log Message:
fix cloning of custom packages where you've changed '(CUSTOM)', RT#5350

Index: part_pkg.cgi
===================================================================
RCS file: /home/cvs/cvsroot/freeside/httemplate/edit/part_pkg.cgi,v
retrieving revision 1.106
retrieving revision 1.107
diff -u -d -r1.106 -r1.107
--- part_pkg.cgi	17 Feb 2009 07:43:59 -0000	1.106
+++ part_pkg.cgi	8 May 2009 08:41:10 -0000	1.107
@@ -209,7 +209,9 @@
 my $agent_clone_extra_sql = 
   ' ( '. FS::part_pkg->curuser_pkgs_sql.
   #kludge to clone custom customer packages you otherwise couldn't see
-  "   OR ( part_pkg.disabled = 'Y' AND part_pkg.comment LIKE '(CUSTOM)%' ) ".
+  #really need a proper "CUSTOM" flag that's distinct from disabled
+  #"   OR ( part_pkg.disabled = 'Y' AND part_pkg.comment LIKE '(CUSTOM)%' ) ".
+  "   OR ( part_pkg.disabled = 'Y' ) ".
   ' ) ';
 
 my $conf = new FS::Conf;



More information about the freeside-commits mailing list