From: ivan Date: Wed, 6 Oct 2004 12:37:10 +0000 (+0000) Subject: fix big in RADIUS session viewing when using an ignored-accounting export X-Git-Tag: BEFORE_FINAL_MASONIZE~926 X-Git-Url: http://git.freeside.biz/gitweb/?p=freeside.git;a=commitdiff_plain;h=4a881cc149f6892da35f85b767a1e806f237a05f fix big in RADIUS session viewing when using an ignored-accounting export --- 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 ) );