[BUGFIX] Take versioned record into account for showHidden flag.
authorBart Dubelaar <bartdubelaar@gmail.com>
Fri, 27 Jan 2012 12:02:49 +0000 (13:02 +0100)
committerChristian Kuhn <lolli@schwarzbu.ch>
Thu, 28 Jun 2012 20:24:24 +0000 (22:24 +0200)
commit34eee3a3cf013d216d47ebe69e7ca75a38fe5224
tree9608e4deb335ac32954035557c7f25158f4c0871
parent6802cf2b6bb63b0bd3e0795172cf6e1f369744a5
[BUGFIX] Take versioned record into account for showHidden flag.

The flag showHiddenPage is set if the requested uid is a hidden page.
The original code always looked at the original uid and not to version
in the active workspace. This is fixed.

Change-Id: I6b1be8e459d499578ca30e13d1cc50e9b2ace415
Fixes: #33392
Releases: 6.0, 4.7, 4.6, 4.5
Reviewed-on: http://review.typo3.org/8720
Reviewed-by: Stefan Neufeind
Reviewed-by: Bart Dubelaar
Tested-by: Bart Dubelaar
Reviewed-by: Christian Kuhn
Tested-by: Christian Kuhn
typo3/sysext/cms/tslib/class.tslib_fe.php