Skip to content
Snippets Groups Projects
Commit 9612b593 authored by Christoph Lehmann's avatar Christoph Lehmann Committed by Stefan Bürk
Browse files

[BUGFIX] Prevent TypeError in DatabaseIntegrityController

In advanced query the operator "is in list" makes value
be an array. Then switch the field to a non-array field
type, and you get the following TypeError:

```
  htmlspecialchars(): Argument #1 ($string) must be of type
  string, array given.
```

This resets the array value to an empty string.

Resolves: #103487
Releases: main, 12.4, 11.5
Change-Id: Ifc6ef7e90d49a05ecb4b6d4869eea13c151b1b2a
Reviewed-on: https://review.typo3.org/c/Packages/TYPO3.CMS/+/84198


Tested-by: default avatarStefan Bürk <stefan@buerk.tech>
Reviewed-by: default avatarStefan Bürk <stefan@buerk.tech>
Tested-by: default avatarcore-ci <typo3@b13.com>
parent 5ef10efb
Branches
Tags
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment