From: ivan Date: Sun, 6 Aug 2006 20:07:13 +0000 (+0000) Subject: this should fix the barfing about default radius groups on the new customer screen... X-Git-Tag: BEFORE_FINAL_MASONIZE~57 X-Git-Url: http://git.freeside.biz/gitweb/?p=freeside.git;a=commitdiff_plain;h=ad18fd616d98b80945b455ca170ba02089723873 this should fix the barfing about default radius groups on the new customer screen... --- 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'));