diff options
author | Ivan Kohler <ivan@freeside.biz> | 2013-11-13 17:41:43 -0800 |
---|---|---|
committer | Ivan Kohler <ivan@freeside.biz> | 2013-11-13 17:41:43 -0800 |
commit | 4600f6ce1fa697de8d015c83e49ff61b534ba09d (patch) | |
tree | 9ed2675c3239e12ea0f11f9e1540c4df0fda3fef /FS | |
parent | 9d4a1a67b110523c36407e391e49fb255f596465 (diff) |
email addresses on detach customer, RT#25954, RT#22185
Diffstat (limited to 'FS')
-rw-r--r-- | FS/FS/cust_pkg.pm | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/FS/FS/cust_pkg.pm b/FS/FS/cust_pkg.pm index 98f8a3789..dd4d11c5f 100644 --- a/FS/FS/cust_pkg.pm +++ b/FS/FS/cust_pkg.pm @@ -1860,7 +1860,7 @@ sub change { if ( $opt->{cust_main} ) { my $cust_main = $opt->{cust_main}; unless ( $cust_main->custnum ) { - my $error = $cust_main->insert; + my $error = $cust_main->insert( @{ $opt->{cust_main_insert_args}||[] } ); if ( $error ) { $dbh->rollback if $oldAutoCommit; return "inserting cust_main (transaction rolled back): $error"; |