[BUGFIX] Take versioned record into account for showHidden flag. 02/12802/3
authorBart Dubelaar <bartdubelaar@gmail.com>
Fri, 27 Jan 2012 12:02:49 +0000 (13:02 +0100)
committerBenjamin Mack <benni@typo3.org>
Sun, 7 Apr 2013 08:08:55 +0000 (10:08 +0200)
commitcb6f7bdefc18163a66e05de5ba242170eacbbbf2
tree09b3c3dfff6907818e639a2bd763394f23145ca4
parent24f73ca158809b9ac9f12cacfea100017ce7ff0c
[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: I49017e874fc2accfc9c38789d8d73528afed3c6f
Fixes: #33392
Releases: 6.0, 4.7, 4.6, 4.5
Reviewed-on: https://review.typo3.org/12802
Reviewed-by: Steffen Ritter
Tested-by: Steffen Ritter
Reviewed-by: Bart Dubelaar
Tested-by: Bart Dubelaar
Reviewed-by: Stefan Neufeind
Reviewed-by: Benjamin Mack
Tested-by: Benjamin Mack
typo3/sysext/cms/tslib/class.tslib_fe.php