[freeside-commits] branch FREESIDE_3_BRANCH updated. 408d2d8d90fa1f2674902ffdec7844b1d18bbf50
Ivan
ivan at 420.am
Tue Dec 30 19:24:44 PST 2014
The branch, FREESIDE_3_BRANCH has been updated
via 408d2d8d90fa1f2674902ffdec7844b1d18bbf50 (commit)
from 826a9f88f7cab5e7af2db6f8a6ec48395e69aea8 (commit)
Those revisions listed above that are new to this repository have
not appeared on any other notification email; so we list those
revisions in full, below.
- Log -----------------------------------------------------------------
commit 408d2d8d90fa1f2674902ffdec7844b1d18bbf50
Author: Ivan Kohler <ivan at freeside.biz>
Date: Tue Dec 30 19:24:42 2014 -0800
add condition on "Invoice is newer than last payment type change", RT#31185
diff --git a/FS/FS/part_event/Condition/cust_bill_age_before_payby.pm b/FS/FS/part_event/Condition/cust_bill_age_before_payby.pm
index 273f508..96d9da8 100644
--- a/FS/FS/part_event/Condition/cust_bill_age_before_payby.pm
+++ b/FS/FS/part_event/Condition/cust_bill_age_before_payby.pm
@@ -20,7 +20,7 @@ sub condition {
#my $cust_main = $cust_bill->cust_main;
my $change_date = 0;
- my $newest = 4294967295; #2^32-1
+ my $newest = 2147483647; #2038 problem, because the field does
#this is pretty expensive, it would be way more efficient to check for
# changed payby in SQL
-----------------------------------------------------------------------
Summary of changes:
FS/FS/part_event/Condition/cust_bill_age_before_payby.pm | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
More information about the freeside-commits
mailing list