diff options
| author | ivan <ivan> | 2009-01-29 19:25:46 +0000 |
|---|---|---|
| committer | ivan <ivan> | 2009-01-29 19:25:46 +0000 |
| commit | 3e8e49d2b8c0f4c09f06ede48fdf49fe4eea4fa2 (patch) | |
| tree | 2e3a9f9b49f74c17d59bbd63ae73aafcb6608987 | |
| parent | 3388bd164fb6eed4229bdbf3618ce2ced746ac95 (diff) | |
fix unsuspend-always_adjust_next_bill_date config, RT#4271
| -rw-r--r-- | FS/FS/cust_pkg.pm | 2 |
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'} = ''; |
