typo?
authorMark Wells <mark@freeside.biz>
Sat, 6 Dec 2014 02:18:40 +0000 (18:18 -0800)
committerMark Wells <mark@freeside.biz>
Sat, 6 Dec 2014 02:18:40 +0000 (18:18 -0800)
FS/FS/part_event/Condition/signupdate_age.pm

index 70b4bbd..0c78b4c 100644 (file)
@@ -18,6 +18,7 @@ sub condition {
 
   my $age = $self->option_age_from('age', $opt{'time'} );
 
+  my $cust_main = $cust_bill->cust_main;
   ( $cust_main->signupdate - 60 ) <= $age;
 
 }