[BUGFIX] Use array in check for new CE button 03/17503/2
authorJigal van Hemert <jigal@xs4all.nl>
Sun, 13 Jan 2013 09:42:41 +0000 (10:42 +0100)
committerJigal van Hemert <jigal@xs4all.nl>
Sun, 13 Jan 2013 09:47:00 +0000 (10:47 +0100)
commit0263c4d4d7074603ce210a4e7d53a780eca5ff8d
treefee697f48eeee122f84c8fc1f949294b06a25bc0
parentf3dcd938ab7f4cc5091cb1e28e5d1e8c73052032
[BUGFIX] Use array in check for new CE button

After #44470 the content elements in a column are stored in an array.
Checks for the new content element button, etcetera must check that
array instead of counting the elements in the query result that was used
before.

Change-Id: Iea75afd343db82a4950b4a9b7587177940398b2b
Fixes: #44481
Releases: 6.1, 6.0
Reviewed-on: https://review.typo3.org/17503
Reviewed-by: Jigal van Hemert
Tested-by: Jigal van Hemert
typo3/sysext/backend/Classes/View/PageLayoutView.php