insurance against prepaid double-billing, RT#9689
[freeside.git] / FS / bin / freeside-prepaidd
index 2d64221..05b068b 100644 (file)
@@ -50,7 +50,7 @@ while (1) {
     }
 
     if (    $cust_main->total_unapplied_payments > 0
-         || $cust_main->total_credited > 0
+         || $cust_main->total_unapplied_credits > 0
        )
     {