[freeside-commits] freeside/FS/FS svc_acct.pm,1.198,1.199
Ivan,,,
ivan at wavetail.420.am
Sun Aug 6 02:14:06 PDT 2006
Update of /home/cvs/cvsroot/freeside/FS/FS
In directory wavetail:/tmp/cvs-serv1687
Modified Files:
svc_acct.pm
Log Message:
this just needs to be a hashref and we should be all set with radius groups then
Index: svc_acct.pm
===================================================================
RCS file: /home/cvs/cvsroot/freeside/FS/FS/svc_acct.pm,v
retrieving revision 1.198
retrieving revision 1.199
diff -u -d -r1.198 -r1.199
--- svc_acct.pm 6 Aug 2006 09:10:07 -0000 1.198
+++ svc_acct.pm 6 Aug 2006 09:14:04 -0000 1.199
@@ -189,17 +189,19 @@
sub table { 'svc_acct'; }
sub _fieldhandlers {
- #false laziness with edit/svc_acct.cgi
- 'usergroup' => sub {
- my $usergroup = shift;
- if ( ref($usergroup) eq 'ARRAY' ) {
- $usergroup;
- } elsif ( length($usergroup) ) {
- [ split(/\s*,\s*/, $usergroup) ];
- } else {
- [];
- }
- },
+ {
+ #false laziness with edit/svc_acct.cgi
+ 'usergroup' => sub {
+ my $usergroup = shift;
+ if ( ref($usergroup) eq 'ARRAY' ) {
+ $usergroup;
+ } elsif ( length($usergroup) ) {
+ [ split(/\s*,\s*/, $usergroup) ];
+ } else {
+ [];
+ }
+ },
+ };
}
=item insert [ , OPTION => VALUE ... ]
More information about the freeside-commits
mailing list