From 5886bd773a3c1fe43abcde0beafb7fb5e1991388 Mon Sep 17 00:00:00 2001 From: Mark Wells Date: Thu, 19 Mar 2015 13:42:54 -0700 Subject: [PATCH] don't remove event history when voiding invoices, #32862, from #18677 --- FS/FS/cust_bill.pm | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/FS/FS/cust_bill.pm b/FS/FS/cust_bill.pm index 137985a97..033f19936 100644 --- a/FS/FS/cust_bill.pm +++ b/FS/FS/cust_bill.pm @@ -284,7 +284,6 @@ sub delete { my $dbh = dbh; foreach my $table (qw( - cust_event cust_credit_bill cust_bill_pay cust_pay_batch @@ -292,6 +291,7 @@ sub delete { cust_bill_batch cust_bill_pkg )) { + #cust_event # problematic foreach my $linked ( $self->$table() ) { my $error = $linked->delete; -- 2.11.0