From d93097485be2cde9039f5cef3da4f842180db4b9 Mon Sep 17 00:00:00 2001 From: mark Date: Sat, 18 Sep 2010 04:28:45 +0000 Subject: [PATCH] invoice past due event, RT#9931 --- FS/FS/part_event/Condition/cust_bill_past_due.pm | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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; -- 2.11.0