From: ivan Date: Fri, 19 Apr 2002 23:35:02 +0000 (+0000) Subject: compare balance numerically to avoid spurious suspensions X-Git-Tag: freeside_1_4_0_pre12~43 X-Git-Url: http://git.freeside.biz/gitweb/?a=commitdiff_plain;ds=sidebyside;h=34852a680e9cbc0053683b93041240b7e98e2752;hp=167292308b03b20e5e2ba790491ee28a3af85578;p=freeside.git compare balance numerically to avoid spurious suspensions --- 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; }