From 3e8e49d2b8c0f4c09f06ede48fdf49fe4eea4fa2 Mon Sep 17 00:00:00 2001 From: ivan Date: Thu, 29 Jan 2009 19:25:46 +0000 Subject: [PATCH] fix unsuspend-always_adjust_next_bill_date config, RT#4271 --- FS/FS/cust_pkg.pm | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/FS/FS/cust_pkg.pm b/FS/FS/cust_pkg.pm index 1bce7d0df..64c92008c 100644 --- a/FS/FS/cust_pkg.pm +++ b/FS/FS/cust_pkg.pm @@ -822,7 +822,7 @@ sub unsuspend { $hash{'bill'} = ( $hash{'bill'} || $hash{'setup'} ) + $inactive if ( $opt{'adjust_next_bill'} - || $conf->config('unsuspend-always_adjust_next_bill_date') ) + || $conf->exists('unsuspend-always_adjust_next_bill_date') ) && $inactive > 0 && ( $hash{'bill'} || $hash{'setup'} ); $hash{'susp'} = ''; -- 2.11.0