projects
/
freeside.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
lenny POE compat, RT#7780
[freeside.git]
/
FS
/
FS
/
cust_bill.pm
diff --git
a/FS/FS/cust_bill.pm
b/FS/FS/cust_bill.pm
index
272b1b2
..
c5bc8af
100644
(file)
--- 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);