summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorivan <ivan>2009-01-29 19:21:21 +0000
committerivan <ivan>2009-01-29 19:21:21 +0000
commite605a0b7181ac66bcf8a74de117efc87e869c978 (patch)
tree31badfe6ae09610eec18d8dd1e35e7c384214440
parent8cfaefbde2841c7c56b234220490d778ede17a6a (diff)
fix unsuspend-always_adjust_next_bill_date config, RT#4271
-rw-r--r--FS/FS/cust_pkg.pm2
1 files changed, 1 insertions, 1 deletions
diff --git a/FS/FS/cust_pkg.pm b/FS/FS/cust_pkg.pm
index 885eef18f..7b85bdfdd 100644
--- a/FS/FS/cust_pkg.pm
+++ b/FS/FS/cust_pkg.pm
@@ -933,7 +933,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'} = '';