diff options
author | Ivan Kohler <ivan@freeside.biz> | 2014-12-30 19:24:40 -0800 |
---|---|---|
committer | Ivan Kohler <ivan@freeside.biz> | 2014-12-30 19:24:40 -0800 |
commit | f0d924d0437715c4d332ab446f7ebb033841c477 (patch) | |
tree | 1ffc7fc08eacf67a8542b443250540ed3826bcc3 | |
parent | 46ba9270a226ef01d0c29635373aef09ae42d372 (diff) |
add condition on "Invoice is newer than last payment type change", RT#31185
-rw-r--r-- | FS/FS/part_event/Condition/cust_bill_age_before_payby.pm | 2 |
1 files changed, 1 insertions, 1 deletions
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 273f508d9..96d9da8d8 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 |