Actions
Bug #93758
closedpostUserFunc type issues
Status:
Rejected
Priority:
Should have
Assignee:
-
Category:
Content Rendering
Target version:
-
Start date:
2021-03-17
Due date:
% Done:
0%
Estimated time:
TYPO3 Version:
10
PHP Version:
Tags:
Complexity:
Is Regression:
Sprint Focus:
Description
https://forge.typo3.org/issues/93513
This patch changed the second argument to empty array instead of null.
In our case we don't have a customized function that resolves something but use `base64_decode()`
This now causes the following error:
PHP Warning: base64_decode() expects parameter 2 to be bool, array given in
The setup to recreate the issue pretty simple
page { cssInline { 1 = TEXT // this is: body { background: blue; } -- base64 encoded 1.value = CmJvZHkgewogICBiYWNrZ3JvdW5kOiBibHVlOwp9Cg== 1.value.postUserFunc = base64_decode } }
My recommendation would be to revert the change and update the docs like documented in the issue
Actions