From ac602a212f0cb29cc9f2693de4df75c70dc5211f Mon Sep 17 00:00:00 2001 From: Jonathan Prykop Date: Tue, 26 Jul 2016 16:44:10 -0500 Subject: [PATCH] RT#38217: Send email when logging conditions are met [fix to warning invocation in cust_bill_pkg_tax_location] --- FS/FS/cust_bill_pkg_tax_location.pm | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/FS/FS/cust_bill_pkg_tax_location.pm b/FS/FS/cust_bill_pkg_tax_location.pm index f16e930b9..0e510005f 100644 --- a/FS/FS/cust_bill_pkg_tax_location.pm +++ b/FS/FS/cust_bill_pkg_tax_location.pm @@ -341,7 +341,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 -- 2.11.0