Merge pull request #199 from roberthorlings/bugfix/import-amount-comma

Small bugfix
This commit is contained in:
James Cole
2016-02-25 16:20:28 +01:00

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);