[BUGFIX] Only fetch fileReferences from localized table if column exist 87/54487/2
authorBenjamin Kott <benjamin.kott@wfp2.com>
Thu, 26 Oct 2017 15:54:56 +0000 (17:54 +0200)
committerMarkus Klein <markus.klein@typo3.org>
Fri, 27 Oct 2017 16:53:35 +0000 (18:53 +0200)
commitacf7272197694d73e82fa721dd7b4bea0897fe51
tree73f5979d7715bc70e1497411ccafbb09dac56b68
parentebb10866abbafe4d027651e92c4e09ef6d023fa5
[BUGFIX] Only fetch fileReferences from localized table if column exist

Only if a localized table also contains the requested column for file
references it will overlay the previous generated resultset.

Resolves: #82860, #67741
Releases: master, 8.7
Change-Id: I21fd60454123488ea312d6c6241f2622eab3f14c
Reviewed-on: https://review.typo3.org/54487
Tested-by: TYPO3com <no-reply@typo3.com>
Reviewed-by: Markus Klein <markus.klein@typo3.org>
Tested-by: Markus Klein <markus.klein@typo3.org>
typo3/sysext/frontend/Classes/Page/PageRepository.php