[BUGFIX] Correctly assign workspace for rootline retrieval
[Packages/TYPO3.CMS.git] / typo3 / sysext / frontend / Classes / Controller / TypoScriptFrontendController.php
index 952de13..ab36b57 100644 (file)
@@ -1575,7 +1575,7 @@ class TypoScriptFrontendController {
                        $ws = $this->whichWorkspace();
                        if ($this->sys_page->error_getRootLine_failPid == -1 && $ws) {
                                $this->sys_page->versioningPreview = TRUE;
-                               $this->versioningWorkspaceId = $ws;
+                               $this->sys_page->versioningWorkspaceId = $ws;
                                $this->rootLine = $this->sys_page->getRootLine($this->id, $this->MP);
                        }
                        if (empty($this->rootLine)) {