summaryrefslogtreecommitdiff
path: root/httemplate/edit/part_export.cgi
diff options
context:
space:
mode:
Diffstat (limited to 'httemplate/edit/part_export.cgi')
-rw-r--r--httemplate/edit/part_export.cgi2
1 files changed, 1 insertions, 1 deletions
diff --git a/httemplate/edit/part_export.cgi b/httemplate/edit/part_export.cgi
index 7ba6fa12b..3d867f50a 100644
--- a/httemplate/edit/part_export.cgi
+++ b/httemplate/edit/part_export.cgi
@@ -27,7 +27,7 @@ if ( $cgi->param('clone') && $cgi->param('clone') =~ /^(\d+)$/ ) {
$action = 'Add';
my $old_part_export = qsearchs('part_export', { 'exportnum' => $1 } );
unless ( $part_export ) {
- ($part_export, $options) = $old_part_export->clone;
+ ($part_export, $options) = $old_part_export->clone($cgi->param('svcpart'));
}
} elsif ( $cgi->param('new_with_svcpart')
&& $cgi->param('new_with_svcpart') =~ /^(\d+)$/ ) {