should fix open session RADIUS search, RT #4233
authorivan <ivan>
Thu, 6 Nov 2008 22:53:25 +0000 (22:53 +0000)
committerivan <ivan>
Thu, 6 Nov 2008 22:53:25 +0000 (22:53 +0000)
FS/FS/part_export/sqlradius.pm

index bf7d1ea..e1a08fe 100644 (file)
@@ -577,7 +577,7 @@ sub usage_sessions {
   my $opt = {};
   my($start, $end, $svc_acct, $ip, $prefix) = ( '', '', '', '', '');
   if ( ref($_[0]) ) {
-    my $opt = shift;
+    $opt = shift;
     $start    = $opt->{stoptime_start};
     $end      = $opt->{stoptime_end};
     $svc_acct = $opt->{svc_acct};