projects
/
freeside.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
d86f873
)
RT#20687: Future package change [comment about bug fix]
author
Jonathan Prykop
<jonathan@freeside.biz>
Wed, 1 Jul 2015 03:49:28 +0000
(22:49 -0500)
committer
Jonathan Prykop
<jonathan@freeside.biz>
Wed, 1 Jul 2015 03:52:59 +0000
(22:52 -0500)
FS/FS/cust_pkg.pm
patch
|
blob
|
history
diff --git
a/FS/FS/cust_pkg.pm
b/FS/FS/cust_pkg.pm
index
b97587c
..
950d348
100644
(file)
--- a/
FS/FS/cust_pkg.pm
+++ b/
FS/FS/cust_pkg.pm
@@
-2442,6
+2442,7
@@
sub change_later {
$error = $self->replace ||
$err_or_pkg->replace ||
+ #because change() might've edited existing scheduled change in place
(($err_or_pkg->pkgnum == $change_to->pkgnum) ? '' :
$change_to->cancel('no_delay_cancel' => 1) ||
$change_to->delete);