summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--FS/bin/freeside-prepaidd2
1 files changed, 1 insertions, 1 deletions
diff --git a/FS/bin/freeside-prepaidd b/FS/bin/freeside-prepaidd
index 2d64221de..05b068b02 100644
--- a/FS/bin/freeside-prepaidd
+++ b/FS/bin/freeside-prepaidd
@@ -50,7 +50,7 @@ while (1) {
}
if ( $cust_main->total_unapplied_payments > 0
- || $cust_main->total_credited > 0
+ || $cust_main->total_unapplied_credits > 0
)
{