summaryrefslogtreecommitdiff
path: root/FS/FS/part_event/Condition/cust_bill_owed.pm
diff options
context:
space:
mode:
Diffstat (limited to 'FS/FS/part_event/Condition/cust_bill_owed.pm')
-rw-r--r--FS/FS/part_event/Condition/cust_bill_owed.pm2
1 files changed, 1 insertions, 1 deletions
diff --git a/FS/FS/part_event/Condition/cust_bill_owed.pm b/FS/FS/part_event/Condition/cust_bill_owed.pm
index 5e582ef69..0fd992282 100644
--- a/FS/FS/part_event/Condition/cust_bill_owed.pm
+++ b/FS/FS/part_event/Condition/cust_bill_owed.pm
@@ -48,7 +48,7 @@ sub condition_sql {
my $owed_sql = FS::cust_bill->owed_sql;
- "$owed_sql > $over";
+ "$owed_sql > CAST( $over AS numeric )";
}
1;