From 958c175de04f5c049a0ad84ee50e9dba0c1122b6 Mon Sep 17 00:00:00 2001 From: ivan Date: Wed, 3 Feb 2010 19:27:17 +0000 Subject: [PATCH] better error msg for profiling --- FS/FS/cust_main.pm | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/FS/FS/cust_main.pm b/FS/FS/cust_main.pm index a4f88b4f4..590e32ff2 100644 --- a/FS/FS/cust_main.pm +++ b/FS/FS/cust_main.pm @@ -3926,7 +3926,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 -- 2.11.0