[freeside-commits] freeside/httemplate/edit/process cust_main.cgi, 1.42.2.2, 1.42.2.3

Mark Wells mark at wavetail.420.am
Tue Sep 28 17:38:20 PDT 2010


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

Modified Files:
      Tag: FREESIDE_1_9_BRANCH
	cust_main.cgi 
Log Message:
avoid wiping signupdate when editing cust_main, RT#9972

Index: cust_main.cgi
===================================================================
RCS file: /home/cvs/cvsroot/freeside/httemplate/edit/process/cust_main.cgi,v
retrieving revision 1.42.2.2
retrieving revision 1.42.2.3
diff -u -w -d -r1.42.2.2 -r1.42.2.3
--- cust_main.cgi	16 Jul 2010 23:46:39 -0000	1.42.2.2
+++ cust_main.cgi	29 Sep 2010 00:38:17 -0000	1.42.2.3
@@ -247,6 +247,11 @@
     $new->payinfo($new_account.'@'.$new_aba);
   }
 
+  if ( ! $conf->exists('cust_main-edit_signupdate') or
+       ! $new->signupdate ) {
+    $new->signupdate($old->signupdate);
+  }
+
   warn "$me calling $new -> replace( $old, \ @invoicing_list )" if $DEBUG;
   local($FS::cust_main::DEBUG) = $DEBUG if $DEBUG;
   local($FS::Record::DEBUG)    = $DEBUG if $DEBUG;



More information about the freeside-commits mailing list