Merge branch 'master' of git.freeside.biz:/home/git/freeside
[freeside.git] / bin / test-event
old mode 100644 (file)
new mode 100755 (executable)
index d3a9f11..73c9d31
@@ -34,7 +34,10 @@ print "\n";
 
 my @conditions = $part_event->part_event_condition;
 foreach my $condition ( @conditions ) {
-  my $sat = $condition->condition( $object, 'cust_event' => $cust_event );
+  my $sat = $condition->condition( $object,
+                                   'cust_event' => $cust_event,
+                                   'time' => time,
+                                 );
 
   my $sql = $condition->condition_sql();