diff options
author | ivan <ivan> | 2004-11-24 10:28:24 +0000 |
---|---|---|
committer | ivan <ivan> | 2004-11-24 10:28:24 +0000 |
commit | 0613949cb9bf987f49114a42a74a9d8b68a31fc1 (patch) | |
tree | 2a38e11b1b33bd18ba9f1dadecd10ec5a44e72cc /httemplate/edit | |
parent | d244e305ee3a09c84edbcf9f0ac91bca8b5103c8 (diff) |
fix redundant too-early checks which are causing an error
Diffstat (limited to 'httemplate/edit')
-rwxr-xr-x | httemplate/edit/process/cust_main.cgi | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/httemplate/edit/process/cust_main.cgi b/httemplate/edit/process/cust_main.cgi index 0b13ba96b..a1d36986d 100755 --- a/httemplate/edit/process/cust_main.cgi +++ b/httemplate/edit/process/cust_main.cgi @@ -80,7 +80,7 @@ if ( $new->custnum eq '' ) { #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 @@ if ( $new->custnum eq '' ) { $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!"; |