When using French Canadian Localization on the server. The floats will be converted from 1.1 to 1,1 in the SQL (the %f) and will mess up the query to get the detail_long.
Changing line 2305 of forms_model.php from:
WHERE lead_id=%d AND field_number BETWEEN %f AND %f", $lead["id"], $field_number - 0.001, $field_number + 0.001);
to this one where the double gets interpreted in PHP and then passed as a string in SQL, you get the same level of security just at a different layer.
WHERE lead_id=%d AND field_number BETWEEN %s AND %s", $lead["id"], doubleval($field_number - 0.001),doubleval($field_number + 0.001));
Thank you