summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorivan <ivan>2010-02-03 19:27:25 +0000
committerivan <ivan>2010-02-03 19:27:25 +0000
commitb5c2b21cccc39107d21f2e6ca8bdb40df81715ea (patch)
tree5fb6cbbc75cf351463a04a7645a2ede11de8419c
parent8c665ecf1e02185cc703fc50ec10d9c0eee4ec84 (diff)
better error msg for profiling
-rw-r--r--FS/FS/cust_main.pm2
1 files changed, 1 insertions, 1 deletions
diff --git a/FS/FS/cust_main.pm b/FS/FS/cust_main.pm
index 4b712de44..dab71f020 100644
--- a/FS/FS/cust_main.pm
+++ b/FS/FS/cust_main.pm
@@ -3815,7 +3815,7 @@ sub due_cust_event {
warn " invalid conditions not eliminated with condition_sql:\n".
join('', map " $_: ".$unsat{$_}."\n", keys %unsat )
- if $DEBUG; # > 1;
+ if keys %unsat && $DEBUG; # > 1;
##
# insert