summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorivan <ivan>2006-08-06 20:07:13 +0000
committerivan <ivan>2006-08-06 20:07:13 +0000
commitad18fd616d98b80945b455ca170ba02089723873 (patch)
treeb93ba4403046e77525fbeedf2680f87d159d12af
parent86102d2ff550b869f09dcfaa30bbdc98e5580d56 (diff)
this should fix the barfing about default radius groups on the new customer screen...
-rw-r--r--FS/FS/svc_acct.pm2
-rwxr-xr-xhttemplate/edit/process/cust_main.cgi2
2 files changed, 1 insertions, 3 deletions
diff --git a/FS/FS/svc_acct.pm b/FS/FS/svc_acct.pm
index 2606c1453..e7d2b37b6 100644
--- a/FS/FS/svc_acct.pm
+++ b/FS/FS/svc_acct.pm
@@ -703,7 +703,7 @@ sub check {
my($recref) = $self->hashref;
- my $x = $self->setfixed;
+ my $x = $self->setfixed( $self->_fieldhandlers );
return $x unless ref($x);
my $part_svc = $x;
diff --git a/httemplate/edit/process/cust_main.cgi b/httemplate/edit/process/cust_main.cgi
index 09a42544c..4ba30c435 100755
--- a/httemplate/edit/process/cust_main.cgi
+++ b/httemplate/edit/process/cust_main.cgi
@@ -103,8 +103,6 @@ if ( $new->custnum eq '' ) {
'popnum' => $cgi->param('popnum'),
} );
- my $y = $svc_acct->setdefault; # arguably should be in new method
- $error ||= $y unless ref($y);
#and just in case you were silly
$svc_acct->svcpart($svcpart);
$svc_acct->username($cgi->param('username'));