Skip to content

Commit

Permalink
Activate default language for records
Browse files Browse the repository at this point in the history
  • Loading branch information
mjansenDatabay committed Oct 14, 2024
1 parent 062dfaa commit 02e5755
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -65,7 +65,7 @@ public function getDecimals()
protected function importFieldDefinition(array $a_def): void
{
parent::importFieldDefinition($a_def);
$this->setDecimals($a_def["decimals"]);
$this->setDecimals($a_def["decimals"] ?? 0);
}

protected function getFieldDefinition(): array
Expand Down

1 comment on commit 02e5755

@mjansenDatabay
Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Argghh

Please sign in to comment.