summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorivan <ivan>2010-08-24 20:14:26 +0000
committerivan <ivan>2010-08-24 20:14:26 +0000
commita0bf80ee346a60038d0bd8ff824f47252399d441 (patch)
tree478fc80d4cd57d7bba3052fab18649102bde9425
parent45cf461c0ee09cead77db1252b0cc40d17c136d5 (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
)
{