projects
/
freeside.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
1be3a16
)
don't lose the pricing on package cloning w/new package editor
author
ivan
<ivan>
Tue, 17 Jun 2008 23:57:20 +0000
(23:57 +0000)
committer
ivan
<ivan>
Tue, 17 Jun 2008 23:57:20 +0000
(23:57 +0000)
httemplate/edit/part_pkg.cgi
patch
|
blob
|
history
diff --git
a/httemplate/edit/part_pkg.cgi
b/httemplate/edit/part_pkg.cgi
index
032970c
..
d9dcaa8
100755
(executable)
--- 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;
};