summaryrefslogtreecommitdiff
path: root/FS
diff options
context:
space:
mode:
authorJonathan Prykop <jonathan@freeside.biz>2016-07-26 16:44:10 -0500
committerJonathan Prykop <jonathan@freeside.biz>2016-08-29 20:23:48 -0500
commitac602a212f0cb29cc9f2693de4df75c70dc5211f (patch)
tree9434a2a4c73941fb840b6ca46ab3520eef6cb117 /FS
parentb6cbc6cc5b933c08bf4f1132df7aee7910636295 (diff)
RT#38217: Send email when logging conditions are met [fix to warning invocation in cust_bill_pkg_tax_location]
Diffstat (limited to 'FS')
-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 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