summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--FS/bin/freeside-radgroup2
1 files changed, 1 insertions, 1 deletions
diff --git a/FS/bin/freeside-radgroup b/FS/bin/freeside-radgroup
index e1a819788..ed85626d2 100644
--- a/FS/bin/freeside-radgroup
+++ b/FS/bin/freeside-radgroup
@@ -20,7 +20,7 @@ if ( lc($action) eq 'add' ) {
next if grep { $_ eq $groupname } @groups;
push @groups, $groupname;
my %hash = $svc_acct->hash;
- $hash{radius_groups} = \@groups;
+ $hash{usergroup} = \@groups;
my $new = new FS::svc_acct \%hash;
my $error = $new->replace($svc_acct);
die $error if $error;