X-Git-Url: http://git.freeside.biz/gitweb/?a=blobdiff_plain;f=FS%2FFS%2Fpart_export%2Fsqlradius.pm;h=5eddd3a090758e19d21cd2d68c3faa9f359da4dd;hb=5fc8c5edf574ab024d4646914b6432d458e2ffbd;hp=85e5969fcdd6461225fbb9a434a8e6153ab2b964;hpb=049da6c538c952f938af4544a07c688b89c26a17;p=freeside.git diff --git a/FS/FS/part_export/sqlradius.pm b/FS/FS/part_export/sqlradius.pm index 85e5969fc..5eddd3a09 100644 --- a/FS/FS/part_export/sqlradius.pm +++ b/FS/FS/part_export/sqlradius.pm @@ -381,7 +381,7 @@ sub usage_sessions { $end ||= 2147483647; - return () if $self->option('ignore_accounting'); + return [] if $self->option('ignore_accounting'); my $dbh = sqlradius_connect( map $self->option($_), qw( datasrc username password ) );