summaryrefslogtreecommitdiff
path: root/FS
diff options
context:
space:
mode:
authorivan <ivan>2009-01-29 19:25:46 +0000
committerivan <ivan>2009-01-29 19:25:46 +0000
commit3e8e49d2b8c0f4c09f06ede48fdf49fe4eea4fa2 (patch)
tree2e3a9f9b49f74c17d59bbd63ae73aafcb6608987 /FS
parent3388bd164fb6eed4229bdbf3618ce2ced746ac95 (diff)
fix unsuspend-always_adjust_next_bill_date config, RT#4271
Diffstat (limited to 'FS')
-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 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'} = '';