summaryrefslogtreecommitdiff
path: root/FS/FS/cust_bill_pkg_tax_location.pm
diff options
context:
space:
mode:
authorJonathan Prykop <jonathan@freeside.biz>2016-07-26 16:44:10 -0500
committerJonathan Prykop <jonathan@freeside.biz>2016-07-27 22:54:29 -0500
commit4f5e4641c64227e3b2c5ef369abc405a64b7bed7 (patch)
tree16415255d6827b4e7adb56ff753aa07714211e43 /FS/FS/cust_bill_pkg_tax_location.pm
parent8116969d1859ef250f843de119d483038e48226f (diff)
RT#38217: Send email when logging conditions are met [fix to warning invocation in cust_bill_pkg_tax_location]
Diffstat (limited to 'FS/FS/cust_bill_pkg_tax_location.pm')
-rw-r--r--FS/FS/cust_bill_pkg_tax_location.pm2
1 files changed, 1 insertions, 1 deletions
diff --git a/FS/FS/cust_bill_pkg_tax_location.pm b/FS/FS/cust_bill_pkg_tax_location.pm
index 9a1f22a..7c67c2d 100644
--- a/FS/FS/cust_bill_pkg_tax_location.pm
+++ b/FS/FS/cust_bill_pkg_tax_location.pm
@@ -338,7 +338,7 @@ sub upgrade_taxable_billpkgnum {
} #for $i
} else {
# the more complicated case
- $log->warn("mismatched charges and tax links in pkg#$pkgnum",
+ $log->warning("mismatched charges and tax links in pkg#$pkgnum",
object => $cust_bill);
my $tax_amount = sum(map {$_->amount} @tax_links);
# remove all tax link records and recreate them to be 1:1 with