[BUGFIX] Handle l10n_parent if field is no select-type 77/49477/2
authorMarkus Klein <markus.klein@typo3.org>
Fri, 29 Jul 2016 09:31:39 +0000 (11:31 +0200)
committerChristian Kuhn <lolli@schwarzbu.ch>
Sun, 14 Aug 2016 13:08:26 +0000 (15:08 +0200)
commit98b8e99ccd52677afee7298500c966b3e5d48bad
tree6ef9044186817af9bd75b290b70cde358ead0774
parent4731960e6793629de88b89bef68e80839af111b6
[BUGFIX] Handle l10n_parent if field is no select-type

The value of l10n_parent is not necessarily an array.
It may as well be a string from a group-type or simple
input.
Adjust the condition for overlay detection accordingly.

Resolves: #77301
Releases: master, 7.6
Change-Id: I9119dfc0a55d623f037f15ddf1e11f132cf38c0b
Reviewed-on: https://review.typo3.org/49477
Reviewed-by: Christian Kuhn <lolli@schwarzbu.ch>
Tested-by: Christian Kuhn <lolli@schwarzbu.ch>
typo3/sysext/backend/Classes/Form/Container/SingleFieldContainer.php