summaryrefslogtreecommitdiff
path: root/fs_signup
diff options
context:
space:
mode:
authorivan <ivan>2002-04-19 23:35:02 +0000
committerivan <ivan>2002-04-19 23:35:02 +0000
commit34852a680e9cbc0053683b93041240b7e98e2752 (patch)
treefeb77e96a1863f11798f21eff63c9d9b68919e88 /fs_signup
parent167292308b03b20e5e2ba790491ee28a3af85578 (diff)
compare balance numerically to avoid spurious suspensions
Diffstat (limited to 'fs_signup')
-rwxr-xr-xfs_signup/fs_signup_server2
1 files changed, 1 insertions, 1 deletions
diff --git a/fs_signup/fs_signup_server b/fs_signup/fs_signup_server
index 38ad5583f..089cfdeb9 100755
--- a/fs_signup/fs_signup_server
+++ b/fs_signup/fs_signup_server
@@ -196,7 +196,7 @@ while (1) {
warn "[fs_signup_server] error collecting from new customer: $bill_error"
if $bill_error;
- if ( $cust_main->balance ) {
+ if ( $cust_main->balance > 0 ) {
#should check list for errors...
$cust_main->suspend;
}