diff options
author | Ivan Kohler <ivan@freeside.biz> | 2013-11-13 17:41:44 -0800 |
---|---|---|
committer | Ivan Kohler <ivan@freeside.biz> | 2013-11-13 17:41:44 -0800 |
commit | 1f4450a6ca5746c8ac2bb7b95f42db66e277f77b (patch) | |
tree | 1dd06af4fb18aca5da52d3e5e4fd78fa23f4a646 /FS | |
parent | 5cedbad0760a0a14ee38bcc8031d8185f1113b9b (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 75102ce87..025da4811 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"; |