From: Jonathan Prykop Date: Wed, 1 Jul 2015 03:49:28 +0000 (-0500) Subject: RT#20687: Future package change [comment about bug fix] X-Git-Url: http://git.freeside.biz/gitweb/?p=freeside.git;a=commitdiff_plain;h=9313346347265c5a1ad3e1da8f2fcbb965a9d6cd RT#20687: Future package change [comment about bug fix] --- diff --git a/FS/FS/cust_pkg.pm b/FS/FS/cust_pkg.pm index e65672e43..dcbcfeb80 100644 --- a/FS/FS/cust_pkg.pm +++ b/FS/FS/cust_pkg.pm @@ -2415,6 +2415,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);