From 02b3580742017848490de288513696b10746f1d1 Mon Sep 17 00:00:00 2001 From: ivan Date: Tue, 9 Oct 2007 17:57:25 +0000 Subject: [PATCH] be polite! don't spew debugging info unless its asked for. --- FS/FS/cust_main.pm | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/FS/FS/cust_main.pm b/FS/FS/cust_main.pm index bdc181014..bf827a3ed 100644 --- a/FS/FS/cust_main.pm +++ b/FS/FS/cust_main.pm @@ -2731,7 +2731,8 @@ sub due_cust_event { if $DEBUG; # > 1; warn " invalid conditions not eliminated with condition_sql:\n". - join('', map " $_: ".$unsat{$_}."\n", keys %unsat ); + join('', map " $_: ".$unsat{$_}."\n", keys %unsat ) + if $DEBUG; # > 1; ## # 3: insert -- 2.11.0