X-Git-Url: http://git.freeside.biz/gitweb/?p=freeside.git;a=blobdiff_plain;f=FS%2FFS%2Fcust_bill.pm;h=c5bc8afe38c3046d5562b420341884aed4e01990;hp=272b1b21e05603cc859b5f788a029284bd610b0e;hb=31c9718c6e5cb6d6f1c33c85f72f68560454db93;hpb=c39c00055d9b109a7239ed10d458c84c8e61815f diff --git a/FS/FS/cust_bill.pm b/FS/FS/cust_bill.pm index 272b1b21e..c5bc8afe3 100644 --- a/FS/FS/cust_bill.pm +++ b/FS/FS/cust_bill.pm @@ -4360,7 +4360,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);