X-Git-Url: http://git.freeside.biz/gitweb/?p=freeside.git;a=blobdiff_plain;f=FS%2FFS%2Fcust_bill.pm;h=127053013abc8db1b69e4c403551524412a8a850;hp=619fb6437d913edf665ec6c136b364e215c8d5e2;hb=4eae5a24723dd6cbac93bb646284a4fdf1553e73;hpb=1d63fa587dad1f8dbd54ef576a10e5a209a6fa91 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);