Actions
Bug #98924
closedHarden LocalizationUtility with arguments
Start date:
2022-10-26
Due date:
% Done:
100%
Estimated time:
TYPO3 Version:
12
PHP Version:
Tags:
Complexity:
Is Regression:
Sprint Focus:
Description
The default value of arguments
of TranslateViewHelper
has been switched from null
to []
.
To avoid exceptions, when no arguments are given, an additional check is needed.
the error occurs if a string like '%m/%d/%Y'
is added to be translated but no arguments are provided
ArgumentCountError 4 arguments are required, 1 given
Actions