fix a missing semicolon bug only triggered when running prune_applications not in...
authorivan <ivan>
Fri, 30 May 2008 01:38:01 +0000 (01:38 +0000)
committerivan <ivan>
Fri, 30 May 2008 01:38:01 +0000 (01:38 +0000)
FS/FS/Misc/prune.pm

index 371f31c..b6c3053 100644 (file)
@@ -34,9 +34,10 @@ affected records is returned rather than actually deleting the records.
 
 sub prune_applications {
   my $options = shift;
-  my $dbh = dbh
+  my $dbh = dbh;
 
   local $DEBUG = 1 if exists($options->{debug});
+
   my $ccr = <<EOW;
     WHERE
          0 = (select count(*) from cust_credit