change license to GPL only
[freeside.git] / FS / FS / cust_main.pm
index ea6f032..165e696 100644 (file)
@@ -1451,7 +1451,7 @@ sub retry_realtime {
                  && $_->status eq 'done'
                  && $_->statustext
              }
-          $_->cust_bill_event;
+          $cust_bill->cust_bill_event;
     next unless @cust_bill_event;
     my $error = $cust_bill_event[0]->retry;
     if ( $error ) {