diff options
author | ivan <ivan> | 2008-06-17 23:57:20 +0000 |
---|---|---|
committer | ivan <ivan> | 2008-06-17 23:57:20 +0000 |
commit | f6251ae7cea086ef67e09cf9144f663b3842c0a1 (patch) | |
tree | da2941911486fab0c6a31d61e2aedb8a5f16a9a4 /httemplate | |
parent | 1be3a16b2aa6e60498dd8924e4081ae66c006431 (diff) |
don't lose the pricing on package cloning w/new package editor
Diffstat (limited to 'httemplate')
-rwxr-xr-x | httemplate/edit/part_pkg.cgi | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/httemplate/edit/part_pkg.cgi b/httemplate/edit/part_pkg.cgi index 032970c30..d9dcaa87f 100755 --- a/httemplate/edit/part_pkg.cgi +++ b/httemplate/edit/part_pkg.cgi @@ -212,11 +212,10 @@ my $new_object_callback = sub { %options = $clone_part_pkg->options; } else { $part_pkg = FS::part_pkg->new( $hashref ); + $part_pkg->set($_ => '0') + foreach (qw( setup_fee recur_fee )); } - $part_pkg->set($_ => '0') - foreach (qw( setup_fee recur_fee )); - $part_pkg; }; |