summaryrefslogtreecommitdiff
path: root/FS
diff options
context:
space:
mode:
Diffstat (limited to 'FS')
-rw-r--r--FS/FS/cust_main.pm2
1 files changed, 1 insertions, 1 deletions
diff --git a/FS/FS/cust_main.pm b/FS/FS/cust_main.pm
index 7c9bae3c3..9eb569f96 100644
--- a/FS/FS/cust_main.pm
+++ b/FS/FS/cust_main.pm
@@ -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";