summaryrefslogtreecommitdiff
path: root/FS
diff options
context:
space:
mode:
authorivan <ivan>2008-05-30 01:38:01 +0000
committerivan <ivan>2008-05-30 01:38:01 +0000
commit0182501c5e99b67911bee1f9393cd494f4e00f36 (patch)
tree1c53143cd64675af11cfac8bd2fb59c4866a0ec2 /FS
parent015f6132d77de12b17c713254900e2a5e8a3a8a0 (diff)
fix a missing semicolon bug only triggered when running prune_applications not in debug mode...
Diffstat (limited to 'FS')
-rw-r--r--FS/FS/Misc/prune.pm3
1 files changed, 2 insertions, 1 deletions
diff --git a/FS/FS/Misc/prune.pm b/FS/FS/Misc/prune.pm
index 371f31c..b6c3053 100644
--- a/FS/FS/Misc/prune.pm
+++ b/FS/FS/Misc/prune.pm
@@ -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