projects
/
freeside.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
|
inline
| side by side (parent:
d244e30
)
fix redundant too-early checks which are causing an error
author
ivan
<ivan>
Wed, 24 Nov 2004 10:28:24 +0000
(10:28 +0000)
committer
ivan
<ivan>
Wed, 24 Nov 2004 10:28:24 +0000
(10:28 +0000)
httemplate/edit/process/cust_main.cgi
patch
|
blob
|
history
diff --git
a/httemplate/edit/process/cust_main.cgi
b/httemplate/edit/process/cust_main.cgi
index
0b13ba9
..
a1d3698
100755
(executable)
--- 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,
} );
#later 'custnum' => $custnum,
'pkgpart' => $pkgpart,
} );
- $error ||= $cust_pkg->check;
+
#
$error ||= $cust_pkg->check;
#$cust_svc = new FS::cust_svc ( { 'svcpart' => $svcpart } );
#$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'));
$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!";
} elsif ( $cgi->param('username') ) { #good thing to catch
$error = "Can't assign username without a package!";