diff options
author | Christopher Burger <burgerc@freeside.biz> | 2017-11-28 20:17:28 -0500 |
---|---|---|
committer | Christopher Burger <burgerc@freeside.biz> | 2017-11-28 20:17:28 -0500 |
commit | 45d02884d15d18e67c1c70cca05c8905243b8117 (patch) | |
tree | dd31b7ad7cae48738fdfc5fa813091567fa3a88d /FS | |
parent | 06f4f338cbd47dc9bc37addb971bd0bec2989ffe (diff) |
Revert "RT# 24643 - fixed error in saving waive setup fee flag when not selected"
This reverts commit 7e2111f1ebc063df6a0afbb5903ae17a96ca3bb8.
Diffstat (limited to 'FS')
-rw-r--r-- | FS/FS/cust_pkg.pm | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/FS/FS/cust_pkg.pm b/FS/FS/cust_pkg.pm index 7d683235b..c70a6795f 100644 --- a/FS/FS/cust_pkg.pm +++ b/FS/FS/cust_pkg.pm @@ -2372,8 +2372,7 @@ sub change { $same_pkgpart = 0; } - if ($opt->{'waive_setup'}) { $self->set('waive_setup', $opt->{'waive_setup'}) } - else { $self->set('waive_setup', ''); } + $self->set('waive_setup', $opt->{'waive_setup'}) if $opt->{'waive_setup'}; # Before going any further here: if the package is still in the pre-setup # state, it's safe to modify it in place. No need to charge/credit for |