this should fix the barfing about default radius groups on the new customer screen...
authorivan <ivan>
Sun, 6 Aug 2006 20:07:13 +0000 (20:07 +0000)
committerivan <ivan>
Sun, 6 Aug 2006 20:07:13 +0000 (20:07 +0000)
FS/FS/svc_acct.pm
httemplate/edit/process/cust_main.cgi

index 2606c14..e7d2b37 100644 (file)
@@ -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;
 
index 09a4254..4ba30c4 100755 (executable)
@@ -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'));