Skip to content
Snippets Groups Projects
Commit 12b9bfcf authored by Johannes Schlier's avatar Johannes Schlier Committed by Benni Mack
Browse files

[BUGFIX] Fix select with multiple enabled not being saved correctly

If the 'multiple' field in the fieldConfig is set the
$newDatabaseValueArray is returned as is, with duplicate entries. If this
is not the case $newDatabaseValueArray is returned as before, being
modified with the array_unique function.

Resolves: #76918
Releases: master, 7.6
Change-Id: Id8ddac95162a929aeb1b5d7bae33a460317b46cb
Reviewed-on: https://review.typo3.org/49981


Tested-by: default avatarTYPO3com <no-reply@typo3.com>
Reviewed-by: default avatarMarkus Klein <markus.klein@typo3.org>
Reviewed-by: default avatarKarol Lamparski <klamparski@gmail.com>
Tested-by: default avatarKarol Lamparski <klamparski@gmail.com>
Reviewed-by: default avatarBenni Mack <benni@typo3.org>
Tested-by: default avatarBenni Mack <benni@typo3.org>
parent 1c38554b
Branches
Tags
No related merge requests found
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