fix usergroup in edit/part_svc.cgi
[freeside.git] / FS / FS / svc_acct.pm
index 0015140..32ffb76 100644 (file)
@@ -272,6 +272,7 @@ sub table_info {
                          label => 'RADIUS groups',
                          type  => 'radius_usergroup_selector',
                          disable_inventory => 1,
+                         disable_select => 1,
                        },
         'seconds'   => { label => 'Seconds',
                          type  => 'text',
@@ -1519,7 +1520,6 @@ sub _op_usage {
   my $action = $op2action{$op};
 
   if ( &{$op2condition{$op}}($self, $column, $amount) ) {
-    my $cust_pkg = $self->cust_svc->cust_pkg;
     foreach my $part_export ( $self->cust_svc->part_svc->part_export ) {
       if ($part_export->option('overlimit_groups')) {
         my ($new,$old);