diff options
author | ivan <ivan> | 2002-12-17 10:42:26 +0000 |
---|---|---|
committer | ivan <ivan> | 2002-12-17 10:42:26 +0000 |
commit | 869f3b5401b5111789bf03a7a4cc5699ad2993a7 (patch) | |
tree | 977e22f3d6905ae145debc54af2601cbbb7a2252 | |
parent | 641e3f253b22c54c8970213ef86e04337caab948 (diff) |
doh! but finally fixed
-rw-r--r-- | FS/bin/freeside-sqlradius-seconds | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/FS/bin/freeside-sqlradius-seconds b/FS/bin/freeside-sqlradius-seconds index a61e97730..1c978fa8a 100644 --- a/FS/bin/freeside-sqlradius-seconds +++ b/FS/bin/freeside-sqlradius-seconds @@ -12,7 +12,7 @@ adminsuidsetup( $fs_user ); my $target_user = shift or die &usage; my $start = shift or die &usage; $start = str2time($start); -my $stop = scalar(@_) ? str2time(shift) : time; +my $stop = scalar(@ARGV) ? str2time(shift) : time; my $svc_acct = qsearchs( 'svc_acct', { 'username' => $target_user } ); die "username $target_user not found\n" unless $svc_acct; |