Issue Bug Rejected

#93758postUserFunc type issues

Henrik Elsner 03/17/21, 07:59 updated 02/19/22, 16:58

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

Reviews 0

No change resolves or names this issue in its commit message, and no comment links one.