summaryrefslogtreecommitdiff
path: root/FS/FS/part_export.pm
diff options
context:
space:
mode:
authorMark Wells <mark@freeside.biz>2014-02-24 19:11:34 -0800
committerMark Wells <mark@freeside.biz>2014-02-24 19:11:34 -0800
commitcf69a36faa57cdb544948c905059cf1e1ac73e07 (patch)
treec32639fed4f7cc956a9c574802df7d6aec3ce529 /FS/FS/part_export.pm
parentcc3a43f7d4386297a8babebfdd49646f836db127 (diff)
fix deletion of objects with options, fallout from #13971
Diffstat (limited to 'FS/FS/part_export.pm')
-rw-r--r--FS/FS/part_export.pm4
1 files changed, 4 insertions, 0 deletions
diff --git a/FS/FS/part_export.pm b/FS/FS/part_export.pm
index 8e10ea7..9d261f0 100644
--- a/FS/FS/part_export.pm
+++ b/FS/FS/part_export.pm
@@ -161,6 +161,10 @@ sub delete {
'link_table' => 'export_nas',
'target_table' => 'nas',
'params' => [],
+ ) || $self->process_m2m(
+ 'link_table' => 'export_svc',
+ 'target_table' => 'part_svc',
+ 'params' => [],
) || $self->SUPER::delete;
if ( $error ) {
$dbh->rollback if $oldAutoCommit;