[BUGFIX] Show content elements from hidden pages in preview 12/30212/3
authorMarkus Klein <klein.t3@mfc-linz.at>
Wed, 21 May 2014 11:45:23 +0000 (13:45 +0200)
committerMarc Bastian Heinrichs <typo3@mbh-software.de>
Thu, 5 Jun 2014 08:29:40 +0000 (10:29 +0200)
commit79bbd9a3d7a073b79e68192bff6d4dcd90828c8e
tree0f3e00113a1d84b15fa51dd23ca774e7905ffd69
parent15c261403904be352986862449a8dd3ad4bb78f7
[BUGFIX] Show content elements from hidden pages in preview

Content elements from hidden pages are no longer shown in previews.

Fix this by checking with a strong comparison in enableFields() whether
the $show_hidden parameter is set to the default value.

Fixes: #58148
Related: #57814
Releases: 6.2
Change-Id: I2e20db88a513adb1a4d7599591fd3affdb60f209
Reviewed-on: https://review.typo3.org/30212
Tested-by: Dirk Klimpel
Reviewed-by: Mario Rimann
Reviewed-by: David Hoeckele
Reviewed-by: Marc Bastian Heinrichs
Tested-by: Marc Bastian Heinrichs
typo3/sysext/frontend/Classes/Page/PageRepository.php