oops, spurious error messages
authorivan <ivan>
Wed, 27 Feb 2002 23:20:58 +0000 (23:20 +0000)
committerivan <ivan>
Wed, 27 Feb 2002 23:20:58 +0000 (23:20 +0000)
FS/FS/cust_main.pm

index 7c9bae3..9eb569f 100644 (file)
@@ -1167,7 +1167,7 @@ sub collect {
         'status'     => $status,
         'statustext' => $statustext,
       };
-      $cust_bill_event->insert;
+      $error = $cust_bill_event->insert;
       if ( $error ) {
         #$dbh->rollback if $oldAutoCommit;
         #return "error: $error";