this should fix the barfing about default radius groups on the new customer screen...
[freeside.git] / httemplate / edit / process / cust_main.cgi
index acc1ca4..4ba30c4 100755 (executable)
@@ -1,7 +1,5 @@
 <%
 
-warn join('', map { "$_ => ". $cgi->param($_). "\n" } $cgi->param );
-
 my $error = '';
 
 #unmunge stuff
@@ -105,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'));