(eForm 1.4.4.5 & 1.4.4.6)
<input type="text" eform=":integer:0" />
If you don’t fill this field (it’s not validated) PHP > v4.3 gives this error:
[tt] Error: number_format() expects parameter 1 to be double, string given
Error type/ Nr.: Warning - 2
File: /srv/www/---/wwwroot/assets/snippets/eform/eform.inc.php
Line: 302
Line 302 source: $value = number_format($value);[/tt]
Solution is to convert emty string to 0 on line 302:
$value = number_format(empty($value) ? 0 : $value);
Also on line 309:
$value = number_format(empty($value) ? 0 : $value, 2, $dec_point, $th_sep);