From 66ce0d96048636c55a7f7e5b4965bbe68565bde2 Mon Sep 17 00:00:00 2001 From: Ivan Kohler Date: Wed, 24 Jan 2018 17:49:00 -0800 Subject: [PATCH] fix billing error with intro rate packages when billing dates have been edited non-sensically (bill date set even though package is not billing yet), RT#78349 --- FS/FS/part_pkg/prorate_Mixin.pm | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/FS/FS/part_pkg/prorate_Mixin.pm b/FS/FS/part_pkg/prorate_Mixin.pm index 1a7b1efc0..9e97cc593 100644 --- a/FS/FS/part_pkg/prorate_Mixin.pm +++ b/FS/FS/part_pkg/prorate_Mixin.pm @@ -205,7 +205,7 @@ sub prorate_setup { # For some reason (probably user override), the bill date has been set even # though the package isn't billing yet. Start billing as though that was the # start date. - $sdate = $cust_pkg->bill; + $$sdate = $cust_pkg->bill; $cust_pkg->setup($cust_pkg->bill); } # Now figure the start and end of the period that contains the start date. -- 2.11.0