summaryrefslogtreecommitdiff
path: root/FS/FS/part_event/Condition/cust_bill_owed_under.pm
diff options
context:
space:
mode:
Diffstat (limited to 'FS/FS/part_event/Condition/cust_bill_owed_under.pm')
-rw-r--r--FS/FS/part_event/Condition/cust_bill_owed_under.pm2
1 files changed, 1 insertions, 1 deletions
diff --git a/FS/FS/part_event/Condition/cust_bill_owed_under.pm b/FS/FS/part_event/Condition/cust_bill_owed_under.pm
index 460e6a4be..a0bf92f27 100644
--- a/FS/FS/part_event/Condition/cust_bill_owed_under.pm
+++ b/FS/FS/part_event/Condition/cust_bill_owed_under.pm
@@ -43,7 +43,7 @@ sub condition_sql {
my $owed_sql = FS::cust_bill->owed_sql;
- "$owed_sql <= $under";
+ "$owed_sql <= CAST( $under AS numeric )";
}
1;