better retry behavior for non-found taqua CDR rewrites, RT#12181
authorivan <ivan>
Mon, 9 May 2011 20:37:03 +0000 (20:37 +0000)
committerivan <ivan>
Mon, 9 May 2011 20:37:03 +0000 (20:37 +0000)
FS/bin/freeside-cdrrewrited

index 09a2643..7df5a3a 100644 (file)
@@ -45,7 +45,7 @@ while (1) {
   my @recent = grep { ($accountcode_unmatch{$_} + $accountcode_retry) < time }
                  keys %accountcode_unmatch;
   my $extra_sql = scalar(@recent)
-                    ? ' AND acctid NOT IN (', join(',', @recent). ') '
+                    ? ' AND acctid NOT IN ('. join(',', @recent). ') '
                     : '';
 
   my $found = 0;