proper fix for once.pm bug? hopefully it works :)
[freeside.git] / FS / FS / cust_event.pm
index 13b3efa..355bc25 100644 (file)
@@ -190,6 +190,7 @@ sub test_conditions {
   my $part_event = $self->part_event;
   my $object = $self->cust_X;
   my @conditions = $part_event->part_event_condition;
+  %opt{'cust_event'} = $self;
 
   #no unsatisfied conditions
   #! grep ! $_->condition( $object, %opt ), @conditions;