[freeside-commits] branch master updated. 8f57cf37b51aefcdbf13fe09291611f1e8c08650

Jonathan Prykop jonathan at 420.am
Tue Jun 30 20:49:49 PDT 2015


The branch, master has been updated
       via  8f57cf37b51aefcdbf13fe09291611f1e8c08650 (commit)
      from  b02738fceb2de16b23fb22a70350b19ee88a214c (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 8f57cf37b51aefcdbf13fe09291611f1e8c08650
Author: Jonathan Prykop <jonathan at freeside.biz>
Date:   Tue Jun 30 22:49:28 2015 -0500

    RT#20687: Future package change [comment about bug fix]

diff --git a/FS/FS/cust_pkg.pm b/FS/FS/cust_pkg.pm
index b97587c..950d348 100644
--- 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);

-----------------------------------------------------------------------

Summary of changes:
 FS/FS/cust_pkg.pm |    1 +
 1 file changed, 1 insertion(+)




More information about the freeside-commits mailing list