[BUGFIX] FlexFormNoTabsContainer: Fix usage of array_pop() 90/51590/2
authorAndreas Fernandez <a.fernandez@scripting-base.de>
Wed, 8 Feb 2017 16:52:25 +0000 (17:52 +0100)
committerChristian Kuhn <lolli@schwarzbu.ch>
Wed, 15 Feb 2017 12:20:54 +0000 (13:20 +0100)
commit5fea714da171261aa48d144f2dd978f09f55267d
tree57e5391068cd4aff4ff4ac5ac63a9c7066adff24
parent6bac0d8a17d052f1fa0a62143eea4b8739dde05d
[BUGFIX] FlexFormNoTabsContainer: Fix usage of array_pop()

PHP’s `array_pop()` requires its argument being passed as reference,
but the result of `array_keys()` is directly used.
The result of `array_keys()` is now stored into a variable which gets
passed to `array_pop()`.

Resolves: #79686
Releases: master, 7.6
Change-Id: Icda3040abefbffad64e93acf0d7ae632ccee00bf
Reviewed-on: https://review.typo3.org/51590
Reviewed-by: Armin Vieweg <armin@v.ieweg.de>
Tested-by: TYPO3com <no-reply@typo3.com>
Reviewed-by: Georg Ringer <georg.ringer@gmail.com>
Tested-by: Mona Muzaffar <mona.muzaffar@gmx.de>
Reviewed-by: Wouter Wolters <typo3@wouterwolters.nl>
Reviewed-by: Benni Mack <benni@typo3.org>
Reviewed-by: Christian Kuhn <lolli@schwarzbu.ch>
Tested-by: Christian Kuhn <lolli@schwarzbu.ch>
typo3/sysext/backend/Classes/Form/Container/FlexFormNoTabsContainer.php