X-Git-Url: http://git.freeside.biz/gitweb/?p=freeside.git;a=blobdiff_plain;f=FS%2FFS%2Fpart_export%2Fsqlradius.pm;h=5eddd3a090758e19d21cd2d68c3faa9f359da4dd;hp=85e5969fcdd6461225fbb9a434a8e6153ab2b964;hb=4a881cc149f6892da35f85b767a1e806f237a05f;hpb=049da6c538c952f938af4544a07c688b89c26a17 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 ) );