From 4a881cc149f6892da35f85b767a1e806f237a05f Mon Sep 17 00:00:00 2001 From: ivan Date: Wed, 6 Oct 2004 12:37:10 +0000 Subject: [PATCH] fix big in RADIUS session viewing when using an ignored-accounting export --- FS/FS/part_export/sqlradius.pm | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 ) ); -- 2.11.0