summaryrefslogtreecommitdiff
path: root/FS
diff options
context:
space:
mode:
authorMark Wells <mark@freeside.biz>2013-01-29 16:32:29 -0800
committerMark Wells <mark@freeside.biz>2013-01-30 12:10:27 -0800
commitcf6af2601d638a32e2463abeb59cee59ac41a2d1 (patch)
tree1abe99376a555206576fb330709c7b2a72a7f28c /FS
parentf0a918182a46c98638cfd5ce09b050f5db22dd56 (diff)
fix warning
Diffstat (limited to 'FS')
-rw-r--r--FS/FS/cust_main/Billing.pm3
1 files changed, 2 insertions, 1 deletions
diff --git a/FS/FS/cust_main/Billing.pm b/FS/FS/cust_main/Billing.pm
index 1487feec1..395e629cf 100644
--- a/FS/FS/cust_main/Billing.pm
+++ b/FS/FS/cust_main/Billing.pm
@@ -1751,8 +1751,9 @@ sub due_cust_event {
#???
#my $DEBUG = $opt{'debug'}
+ $opt{'debug'} ||= 0; # silence some warnings
local($DEBUG) = $opt{'debug'}
- if defined($opt{'debug'}) && $opt{'debug'} > $DEBUG;
+ if $opt{'debug'} > $DEBUG;
$DEBUG = $FS::cust_main::DEBUG if $FS::cust_main::DEBUG > $DEBUG;
warn "$me due_cust_event called with options ".