From: ivan Date: Sun, 6 Aug 2006 08:10:36 +0000 (+0000) Subject: add confession here to diagnose etxrn's problem better X-Git-Tag: BEFORE_FINAL_MASONIZE~62 X-Git-Url: http://git.freeside.biz/gitweb/?p=freeside.git;a=commitdiff_plain;h=e55f806e5ba30a82c0c03dc1fc53f6e13fffb1bb add confession here to diagnose etxrn's problem better --- 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). 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};