[freeside-commits] branch FREESIDE_3_BRANCH updated. b4bfc451959ea0d6e128fbb440fe01a813b6b69a
Mark Wells
mark at 420.am
Tue Jul 16 10:50:27 PDT 2013
The branch, FREESIDE_3_BRANCH has been updated
via b4bfc451959ea0d6e128fbb440fe01a813b6b69a (commit)
from ebcfdd04f1fe69028836d231238845801aa69505 (commit)
Those revisions listed above that are new to this repository have
not appeared on any other notification email; so we list those
revisions in full, below.
- Log -----------------------------------------------------------------
commit b4bfc451959ea0d6e128fbb440fe01a813b6b69a
Author: Mark Wells <mark at freeside.biz>
Date: Tue Jul 16 10:50:14 2013 -0700
minor fix
diff --git a/FS/FS/cust_pkg.pm b/FS/FS/cust_pkg.pm
index 53335df..93bff4b 100644
--- a/FS/FS/cust_pkg.pm
+++ b/FS/FS/cust_pkg.pm
@@ -2142,10 +2142,13 @@ sub change_later {
$self->set('change_to_pkgnum', $err_or_pkg->pkgnum);
$self->set('expire', $date); # in case it's different
$err_or_pkg->set('start_date', $date);
+ $err_or_pkg->set('change_date', '');
+ $err_or_pkg->set('change_pkgnum', '');
$error = $self->replace ||
$err_or_pkg->replace ||
- $err_or_pkg->delete;
+ $change_to->cancel ||
+ $change_to->delete;
} else {
$error = $err_or_pkg;
}
-----------------------------------------------------------------------
Summary of changes:
FS/FS/cust_pkg.pm | 5 ++++-
1 files changed, 4 insertions(+), 1 deletions(-)
More information about the freeside-commits
mailing list