diff --git a/core/model/fieldtypes/Decimal.php b/core/model/fieldtypes/Decimal.php index fba5befff..2cb2e4d7f 100644 --- a/core/model/fieldtypes/Decimal.php +++ b/core/model/fieldtypes/Decimal.php @@ -26,7 +26,7 @@ class Decimal extends DBField { DB::requireField($this->tableName, $this->name, "decimal($this->wholeSize,$this->decimalSize)"); } - function saveInto() { + function saveInto($dataObject) { $fieldName = $this->name; if($fieldName) { $dataObject->$fieldName = (float)preg_replace('/[^0-9.]/', '', $this->value);