[BUGFIX] Do not add empty alert fieldChangeFunc to link browser URL 23/50623/2
authorMarkus Klein <markus.klein@typo3.org>
Thu, 10 Nov 2016 22:02:42 +0000 (23:02 +0100)
committerWouter Wolters <typo3@wouterwolters.nl>
Sun, 13 Nov 2016 12:53:11 +0000 (13:53 +0100)
commitc8037d375a5a5253eacac49583749de826c2b34e
tree27f1e2272c58bf8761c1e1b7c053870fb11f9a52
parenteb1ff547a75724a38ea45d560c361844cc111bf7
[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/50623
Reviewed-by: Stefan Neufeind <typo3.neufeind@speedpartner.de>
Tested-by: Stefan Neufeind <typo3.neufeind@speedpartner.de>
Tested-by: TYPO3com <no-reply@typo3.com>
Reviewed-by: Wouter Wolters <typo3@wouterwolters.nl>
Tested-by: Wouter Wolters <typo3@wouterwolters.nl>
typo3/sysext/backend/Classes/Form/Container/SingleFieldContainer.php