summaryrefslogtreecommitdiff
path: root/FS/FS/part_event/Condition/cust_bill_past_due.pm
diff options
context:
space:
mode:
authormark <mark>2010-09-18 04:28:45 +0000
committermark <mark>2010-09-18 04:28:45 +0000
commitd93097485be2cde9039f5cef3da4f842180db4b9 (patch)
treeeac95c81d6f448bddc243b14a652a7767166f4f1 /FS/FS/part_event/Condition/cust_bill_past_due.pm
parentb04bf86eadcbac04d7caf52a90f56fc3cc9b3568 (diff)
invoice past due event, RT#9931
Diffstat (limited to 'FS/FS/part_event/Condition/cust_bill_past_due.pm')
-rw-r--r--FS/FS/part_event/Condition/cust_bill_past_due.pm2
1 files changed, 1 insertions, 1 deletions
diff --git a/FS/FS/part_event/Condition/cust_bill_past_due.pm b/FS/FS/part_event/Condition/cust_bill_past_due.pm
index 2a66a436d..a889a0090 100644
--- a/FS/FS/part_event/Condition/cust_bill_past_due.pm
+++ b/FS/FS/part_event/Condition/cust_bill_past_due.pm
@@ -29,7 +29,7 @@ sub condition {
}
sub condition_sql {
- return '' if $FS::UID::driver_name ne 'Pg';
+ return 'true' if $FS::UID::driver_name ne 'Pg';
my( $class, $table, %opt ) = @_;
my ($sec,$min,$hour,$mday,$mon,$year) = (localtime($opt{'time'}))[0..5];
my $start_of_today = timelocal(0,0,0,$mday,$mon,$year)+1;