[BUGFIX] Validate column count before using it 80/56680/2
authorGeorg Ringer <georg.ringer@gmail.com>
Mon, 16 Apr 2018 10:40:37 +0000 (12:40 +0200)
committerWouter Wolters <typo3@wouterwolters.nl>
Wed, 25 Apr 2018 07:52:35 +0000 (09:52 +0200)
commitac88689fb6603dc7c415f00b0ab3abfd1b3afe3a
tree4712fee3f072e24fff07bbd3de86aa20fa67ebb9
parentba6fa129da279ce08c5136c5df0d673f4a3f4860
[BUGFIX] Validate column count before using it

Fix a regression introduced with #84338 to check the column count
first before using it.

Resolves: #84491
Releases: master
Change-Id: I7dbfc7f59a3e79bc69ddbca946888f86d96f5fed
Reviewed-on: https://review.typo3.org/56680
Tested-by: TYPO3com <no-reply@typo3.com>
Reviewed-by: Mathias Schreiber <mathias.schreiber@typo3.com>
Tested-by: Mathias Schreiber <mathias.schreiber@typo3.com>
Reviewed-by: Kay Strobach <typo3@kay-strobach.de>
Tested-by: Kay Strobach <typo3@kay-strobach.de>
Reviewed-by: Wouter Wolters <typo3@wouterwolters.nl>
Tested-by: Wouter Wolters <typo3@wouterwolters.nl>
typo3/sysext/backend/Classes/Controller/Wizard/TableController.php