summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--FS/FS/cust_bill.pm2
1 files changed, 1 insertions, 1 deletions
diff --git a/FS/FS/cust_bill.pm b/FS/FS/cust_bill.pm
index 619fb6437..127053013 100644
--- a/FS/FS/cust_bill.pm
+++ b/FS/FS/cust_bill.pm
@@ -4381,7 +4381,7 @@ Returns an SQL fragment to retreive the amount credited against this invoice.
=cut
sub credited_sql {
- my ($class, $start, $end) = shift;
+ my ($class, $start, $end) = @_;
$start &&= "AND cust_credit_bill._date <= $start";
$end &&= "AND cust_credit_bill._date > $end";
$start = '' unless defined($start);