diff options
author | ivan <ivan> | 2002-03-23 16:16:00 +0000 |
---|---|---|
committer | ivan <ivan> | 2002-03-23 16:16:00 +0000 |
commit | 8fe83dcb8807a86209625a5aab7e574073f0a907 (patch) | |
tree | 95f5de468804a2266fbfe9b5cdb9472b280df430 /httemplate/edit/process | |
parent | 4fb679b29788a552a1ce33a0cdf293d648e797bc (diff) |
group editing seems to be working... everything except defaults... oh and
export...
Diffstat (limited to 'httemplate/edit/process')
-rwxr-xr-x | httemplate/edit/process/svc_acct.cgi | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/httemplate/edit/process/svc_acct.cgi b/httemplate/edit/process/svc_acct.cgi index 5e8a16f4a..950a8602f 100755 --- a/httemplate/edit/process/svc_acct.cgi +++ b/httemplate/edit/process/svc_acct.cgi @@ -20,12 +20,15 @@ if ( $cgi->param('_password') eq '*HIDDEN*' ) { $cgi->param('_password',$old->getfield('_password')); } +#unmunge usergroup +$cgi->param('usergroup', [ $cgi->param('radius_usergroup') ] ); + my $new = new FS::svc_acct ( { map { $_, scalar($cgi->param($_)); #} qw(svcnum pkgnum svcpart username _password popnum uid gid finger dir # shell quota slipip) - } ( fields('svc_acct'), qw( pkgnum svcpart ) ) + } ( fields('svc_acct'), qw( pkgnum svcpart usergroup ) ) } ); my $error; |