[BUGFIX] Rootline utility must respect pageOverlayFields
The rootline calculation always overlays all fields
from the pages table. This causes trouble in e.g. the
case that you want to reuse media images from the default
language in other languages. In the previous implementation
(pre 6.x) only the overlay fields from the
$GLOBALS['TYPO3_CONF_VARS']['FE']['pageOverlayFields']
setting were overlaid.
Fixes: #48224
Releases: 6.2, 6.1, 6.0
Change-Id: I6f5a10150c916df24542ee83e33663a27bdb593f
Reviewed-on: https://review.typo3.org/20796
Reviewed-by: Stefan Neufeind
Tested-by: Stefan Neufeind