freeside/httemplate/edit/process cust_main.cgi,1.14,1.15

ivan ivan at pouncequick.420.am
Wed Nov 24 02:28:27 PST 2004


Update of /home/cvs/cvsroot/freeside/httemplate/edit/process
In directory pouncequick:/tmp/cvs-serv7247

Modified Files:
	cust_main.cgi 
Log Message:
fix redundant too-early checks which are causing an error

Index: cust_main.cgi
===================================================================
RCS file: /home/cvs/cvsroot/freeside/httemplate/edit/process/cust_main.cgi,v
retrieving revision 1.14
retrieving revision 1.15
diff -u -d -r1.14 -r1.15
--- cust_main.cgi	8 Jul 2004 11:15:19 -0000	1.14
+++ cust_main.cgi	24 Nov 2004 10:28:24 -0000	1.15
@@ -80,7 +80,7 @@
       #later         'custnum' => $custnum,
       'pkgpart' => $pkgpart,
     } );
-    $error ||= $cust_pkg->check;
+    #$error ||= $cust_pkg->check;
 
     #$cust_svc = new FS::cust_svc ( { 'svcpart' => $svcpart } );
 
@@ -101,7 +101,7 @@
     $svc_acct->_password($cgi->param('_password'));
     $svc_acct->popnum($cgi->param('popnum'));
 
-    $error ||= $svc_acct->check;
+    #$error ||= $svc_acct->check;
 
   } elsif ( $cgi->param('username') ) { #good thing to catch
     $error = "Can't assign username without a package!";




More information about the freeside-commits mailing list