[BUGFIX] Correctly assign workspace for rootline retrieval 65/42865/3
authorMarkus Klein <markus.klein@typo3.org>
Tue, 25 Aug 2015 10:55:26 +0000 (12:55 +0200)
committerMarkus Klein <markus.klein@typo3.org>
Tue, 25 Aug 2015 11:10:22 +0000 (13:10 +0200)
Resolves: #69306
Releases: master, 6.2
Change-Id: If59ec36222c1124c2918b39fc014e4c8a2d7bf2f
Reviewed-on: http://review.typo3.org/42865
Reviewed-by: Markus Klein <markus.klein@typo3.org>
Tested-by: Markus Klein <markus.klein@typo3.org>
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)) {