diff options
author | ivan <ivan> | 2006-08-06 08:10:36 +0000 |
---|---|---|
committer | ivan <ivan> | 2006-08-06 08:10:36 +0000 |
commit | e55f806e5ba30a82c0c03dc1fc53f6e13fffb1bb (patch) | |
tree | 223b55de41bc37d547209ad5672a373f826c771f /FS | |
parent | e39b961f3da26df319c9f116094d2386b2fa2050 (diff) |
add confession here to diagnose etxrn's problem better
Diffstat (limited to 'FS')
-rw-r--r-- | FS/FS/svc_acct.pm | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/FS/FS/svc_acct.pm b/FS/FS/svc_acct.pm index aa3e592a3..572a00853 100644 --- a/FS/FS/svc_acct.pm +++ b/FS/FS/svc_acct.pm @@ -1416,6 +1416,8 @@ Returns all RADIUS groups for this account (see L<FS::radius_usergroup>). sub radius_groups { my $self = shift; if ( $self->usergroup ) { + confess "specified usergroup is not an arrayref: ". $self->usergroup + unless ref($self->usergroup) eq 'ARRAY'; #when provisioning records, export callback runs in svc_Common.pm before #radius_usergroup records can be inserted... @{$self->usergroup}; |