[FOLLOWUP][BUGFIX] Fix PHP warning in shouldFieldBeOverlaid() 40/37940/2
authorMarkus Klein <klein.t3@reelworx.at>
Wed, 18 Mar 2015 16:26:50 +0000 (17:26 +0100)
committerWouter Wolters <typo3@wouterwolters.nl>
Thu, 19 Mar 2015 08:05:19 +0000 (09:05 +0100)
commit0671b4ca5e6ec661e0d0c0ccd0e46888f2fcbd9d
treef4035ad702dfda520b79e52da3ba12c79e4d2dc3
parent04effb2348a5c0311e78898326c26faf7e2cb1f3
[FOLLOWUP][BUGFIX] Fix PHP warning in shouldFieldBeOverlaid()

We have to check the type of the variable properly.
In case we have a non-empty array, we must not run trim() on it.

Releases: master, 6.2
Resolves: #60998
Change-Id: I3bef04a3e64d4c811c71a110fa0bfba4fc3fc361
Reviewed-on: http://review.typo3.org/37940
Reviewed-by: Wouter Wolters <typo3@wouterwolters.nl>
Tested-by: Wouter Wolters <typo3@wouterwolters.nl>
typo3/sysext/frontend/Classes/Page/PageRepository.php