summaryrefslogtreecommitdiff
path: root/httemplate/edit/part_pkg.cgi
diff options
context:
space:
mode:
Diffstat (limited to 'httemplate/edit/part_pkg.cgi')
-rwxr-xr-xhttemplate/edit/part_pkg.cgi2
1 files changed, 2 insertions, 0 deletions
diff --git a/httemplate/edit/part_pkg.cgi b/httemplate/edit/part_pkg.cgi
index d9dcaa87f..3e0a35466 100755
--- a/httemplate/edit/part_pkg.cgi
+++ b/httemplate/edit/part_pkg.cgi
@@ -210,6 +210,8 @@ my $new_object_callback = sub {
$part_pkg = $clone_part_pkg->clone;
$part_pkg->disabled('Y');
%options = $clone_part_pkg->options;
+ $part_pkg->set($_ => $option{$_})
+ foreach (qw( setup_fee recur_fee ));
} else {
$part_pkg = FS::part_pkg->new( $hashref );
$part_pkg->set($_ => '0')