invoice past due event, RT#9931
authormark <mark>
Sat, 18 Sep 2010 04:28:45 +0000 (04:28 +0000)
committermark <mark>
Sat, 18 Sep 2010 04:28:45 +0000 (04:28 +0000)
FS/FS/part_event/Condition/cust_bill_past_due.pm

index 2a66a43..a889a00 100644 (file)
@@ -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;