[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)
committerXavier Perseguers <xavier@typo3.org>
Tue, 16 Oct 2012 09:13:15 +0000 (11:13 +0200)
commitabf427c99d43605e7872644a2777c8dabc11f139
tree515006b9099ac1410aff11aadf9304105f134129
parent79beccc5673cbbe871d6ae1239423e829fb7fc8f
[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: I4bc9cc0cd37e4a71cbf71cef37e10bf2f8bf3cb5
Fixes: #33392
Releases: 6.0, 4.7, 4.6, 4.5
Reviewed-on: http://review.typo3.org/12803
Reviewed-by: Steffen Ritter
Tested-by: Steffen Ritter
Reviewed-by: Xavier Perseguers
Tested-by: Xavier Perseguers
typo3/sysext/cms/tslib/class.tslib_fe.php