Bug #99283
closednumber_format require integer as decimal
100%
Description
passing decimal as string value to various VH results in TypeError "number_format(): Argument #2 ($decimals) must be of type int, string given"
(if using TS settings all variables are strings), e.g
<f:format.bytes decimals="{settings.decimals}">3424</f:format.bytes>
Tested with v12 and PHP 8.1
Updated by Gerrit Code Review almost 2 years ago
- Status changed from New to Under Review
Patch set 1 for branch main of project Packages/TYPO3.CMS has been pushed to the review server.
It is available at https://review.typo3.org/c/Packages/TYPO3.CMS/+/76936
Updated by Gerrit Code Review almost 2 years ago
Patch set 2 for branch main of project Packages/TYPO3.CMS has been pushed to the review server.
It is available at https://review.typo3.org/c/Packages/TYPO3.CMS/+/76936
Updated by Gerrit Code Review almost 2 years ago
Patch set 1 for branch 11.5 of project Packages/TYPO3.CMS has been pushed to the review server.
It is available at https://review.typo3.org/c/Packages/TYPO3.CMS/+/76954
Updated by Anonymous almost 2 years ago
- Status changed from Under Review to Resolved
- % Done changed from 0 to 100
Applied in changeset e764a7b58f8c4d54a2a36a01a5275e6353e32bd2.
Updated by Benni Mack over 1 year ago
- Related to Bug #98631: CurrencyViewHelper have parameter decimals as string, int needed added