[BUGFIX] FlexFormNoTabsContainer: Fix usage of array_pop() 94/51694/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:38:38 +0000 (13:38 +0100)
commitbe8e50230a09fb17c3db65fe605e183b7df91d42
tree59aebdb370b77f956ba279dc3859986f66dddfe2
parent7bf7f8d6a64fd4e14e69d57fbdc89f03279b1c61
[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/51694
Tested-by: TYPO3com <no-reply@typo3.com>
Reviewed-by: Christian Kuhn <lolli@schwarzbu.ch>
Tested-by: Christian Kuhn <lolli@schwarzbu.ch>
typo3/sysext/backend/Classes/Form/Container/FlexFormNoTabsContainer.php