summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorivan <ivan>2010-08-24 20:14:25 +0000
committerivan <ivan>2010-08-24 20:14:25 +0000
commit7d1b8dab48a9396cf0a066545750f69598f66bc8 (patch)
tree05a685e9fc6f77b9c8931fc0ab18864f1a794f58
parent2bdb2bb70aee8faf11da3b09f110be892103c0a7 (diff)
insurance against prepaid double-billing, RT#9689
-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
)
{