[BUGFIX] Do not add empty alert fieldChangeFunc to link browser URL 86/50586/2
authorMarkus Klein <markus.klein@typo3.org>
Thu, 10 Nov 2016 22:02:42 +0000 (23:02 +0100)
committerStefan Neufeind <typo3.neufeind@speedpartner.de>
Sat, 12 Nov 2016 22:44:44 +0000 (23:44 +0100)
commit81d80f856954ff90ee0d9b3fd0fbb2feeeaf1816
tree3421131a1b7b5419eb9f9196319bd82a70d5ebb6
parent10f6e1d807d16834df8d56df935cae0d82d547a5
[BUGFIX] Do not add empty alert fieldChangeFunc to link browser URL

Adding an empty alert message to the fieldChangeFunc array causes
the fieldChangeFunc_hash to mismatch when pagination or search
is used in the link browser popup.

Add a check for an empty value, which is already present in another
place in Core.

Resolves: #75743
Releases: master, 7.6
Change-Id: I1a15400960d577c1a2a0a905643b56533d957100
Reviewed-on: https://review.typo3.org/50586
Tested-by: TYPO3com <no-reply@typo3.com>
Reviewed-by: Wouter Wolters <typo3@wouterwolters.nl>
Tested-by: Wouter Wolters <typo3@wouterwolters.nl>
Reviewed-by: Stefan Neufeind <typo3.neufeind@speedpartner.de>
Tested-by: Stefan Neufeind <typo3.neufeind@speedpartner.de>
typo3/sysext/backend/Classes/Form/Container/SingleFieldContainer.php