compare balance numerically to avoid spurious suspensions
authorivan <ivan>
Fri, 19 Apr 2002 23:35:02 +0000 (23:35 +0000)
committerivan <ivan>
Fri, 19 Apr 2002 23:35:02 +0000 (23:35 +0000)
fs_signup/fs_signup_server

index 38ad558..089cfde 100755 (executable)
@@ -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;
       }