summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorivan <ivan>2009-10-20 23:24:03 +0000
committerivan <ivan>2009-10-20 23:24:03 +0000
commit1d9f6cca76b3581cbbaf2fab8d906bc578aaea90 (patch)
tree0633d42d132660ba132195dd8f9adf06995c44ce
parent16860a8636119031f5b852a67c74e73c40718721 (diff)
should fix problems sending a receipt against a specific package when taxes are in use
-rw-r--r--FS/FS/cust_bill_pay_pkg.pm2
1 files changed, 1 insertions, 1 deletions
diff --git a/FS/FS/cust_bill_pay_pkg.pm b/FS/FS/cust_bill_pay_pkg.pm
index 48c436483..639960f7d 100644
--- a/FS/FS/cust_bill_pay_pkg.pm
+++ b/FS/FS/cust_bill_pay_pkg.pm
@@ -194,7 +194,7 @@ sub send_receipt {
my $self = shift;
my $opt = ref($_[0]) ? shift : { @_ };
$self->cust_bill_pay->send_receipt(
- 'cust_pkg' => $self->cust_bill_pkg->cust_pkg,
+ 'cust_pkg' => scalar($self->cust_bill_pkg->cust_pkg),
%$opt,
);
}