Commit 78ea2ce3 authored by Thomas Hohn's avatar Thomas Hohn Committed by Georg Ringer
Browse files

[BUGFIX] Re-add initialization of PageRepository::$where_groupAccess

Re-added `$this->where_groupAccess` to init method.

Resolves: #91429
Releases: master, 9.5
Change-Id: Ibd9b169e8d11e358023d8cfbd2085995769d16cc
Reviewed-on: https://review.typo3.org/c/Packages/TYPO3.CMS/+/64516


Tested-by: default avatarTYPO3com <noreply@typo3.com>
Tested-by: Benni Mack's avatarBenni Mack <benni@typo3.org>
Tested-by: Georg Ringer's avatarGeorg Ringer <georg.ringer@gmail.com>
Reviewed-by: Benni Mack's avatarBenni Mack <benni@typo3.org>
Reviewed-by: Oliver Hader's avatarOliver Hader <oliver.hader@typo3.org>
Reviewed-by: Georg Ringer's avatarGeorg Ringer <georg.ringer@gmail.com>
parent 712c24bc
......@@ -153,6 +153,8 @@ class PageRepository implements LoggerAwareInterface
*/
protected function init($show_hidden)
{
$this->where_groupAccess = '';
$cache = $this->getRuntimeCache();
$cacheIdentifier = 'PageRepository_hidDelWhere' . ($show_hidden ? 'ShowHidden' : '') . '_' . (int)$this->versioningWorkspaceId;
$cacheEntry = $cache->get($cacheIdentifier);
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment