Small bugfix

This commit is contained in:
Robert Horlings 2016-02-25 16:19:27 +01:00
parent bcaca0eca3
commit c624c4342f

View File

@ -17,7 +17,7 @@ class AmountComma extends BasicConverter implements ConverterInterface
*/
public function convert()
{
$value = str_replace(',', '.', str_val($this->value));
$value = str_replace(',', '.', strval($this->value));
if (is_numeric($value)) {
return strval($value);