[BUGFIX] Use `modTSconfig` for default language label, if set 71/47371/2
authorAndreas Fernandez <a.fernandez@scripting-base.de>
Wed, 23 Mar 2016 18:06:28 +0000 (19:06 +0100)
committerWouter Wolters <typo3@wouterwolters.nl>
Wed, 23 Mar 2016 19:28:56 +0000 (20:28 +0100)
commitce1790163c65b378e63ff1beef7784fc879548b5
treebfb2542599538eea7dfb4a68e42733e87c29db25
parent0ecf099d6c48d91ac4d9fb1a5b75a3652048e6c8
[BUGFIX] Use `modTSconfig` for default language label, if set

Due to a wrong assignment, modSharedTSconfig is always used
to set the default language label in PageLayoutController, even if
modTSconfig is set.

modTSconfig is now used if possible.

Resolves: #75242
Releases: master, 7.6, 6.2
Change-Id: I517c03f02ffc8d05ed74a865517ee775e1542bfe
Reviewed-on: https://review.typo3.org/47371
Reviewed-by: Alexander Opitz <opitz.alexander@googlemail.com>
Tested-by: Alexander Opitz <opitz.alexander@googlemail.com>
Reviewed-by: Mathias Schreiber <mathias.schreiber@wmdb.de>
Tested-by: Mathias Schreiber <mathias.schreiber@wmdb.de>
Reviewed-by: Daniel Goerz <ervaude@gmail.com>
Tested-by: Daniel Goerz <ervaude@gmail.com>
Reviewed-by: Wouter Wolters <typo3@wouterwolters.nl>
Tested-by: Wouter Wolters <typo3@wouterwolters.nl>
typo3/sysext/backend/Classes/Controller/PageLayoutController.php