From ad18fd616d98b80945b455ca170ba02089723873 Mon Sep 17 00:00:00 2001 From: ivan Date: Sun, 6 Aug 2006 20:07:13 +0000 Subject: [PATCH] this should fix the barfing about default radius groups on the new customer screen... --- FS/FS/svc_acct.pm | 2 +- httemplate/edit/process/cust_main.cgi | 2 -- 2 files changed, 1 insertion(+), 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')); -- 2.11.0