[BUGFIX] Make preview of translated pages possible 15/47315/2
authorHeiko Hardt <heiko.hardt.t3@gmail.com>
Mon, 14 Mar 2016 21:45:30 +0000 (22:45 +0100)
committerAndreas Fernandez <typo3@scripting-base.de>
Fri, 18 Mar 2016 10:00:35 +0000 (11:00 +0100)
commit82ea50be046e098e1cd7729103f77367eafe641d
tree52bbbd92ed4bb3e661505d1afdfa0680a43b425c
parent9f51f8522cc1dbb35484b489b460cb0cb044083d
[BUGFIX] Make preview of translated pages possible

This fix solves the problem that hidden page translations not are not
reviewable if logged in and "Show hidden pages" in admin panel is
enabled.

Treat records of "pages_language_overlay" as pages to make use of
the showHiddenPage flag.

Resolves: #75116
Releases: master, 7.6
Change-Id: I083ee3a90230b6c97eb20def93c9e96bfe31c4cb
Reviewed-on: https://review.typo3.org/47315
Reviewed-by: Andreas Fernandez <typo3@scripting-base.de>
Tested-by: Andreas Fernandez <typo3@scripting-base.de>
typo3/sysext/frontend/Classes/Page/PageRepository.php