[BUGFIX] Wrong call to TCEmain object
authorOliver Hader <oliver@typo3.org>
Mon, 13 Jun 2011 15:26:12 +0000 (17:26 +0200)
committerOliver Hader <oliver@typo3.org>
Mon, 13 Jun 2011 15:27:08 +0000 (17:27 +0200)
Change-Id: I9211e3eb85a82c0b0966f4263e484ff7ce60321e
Releases: 4.6, 4.5

typo3/sysext/version/class.tx_version_tcemain_commandmap.php

index c28a66d..8e5dec6 100644 (file)
@@ -312,7 +312,7 @@ class tx_version_tcemain_CommandMap {
                                $workspaceRecord = t3lib_BEfunc::getRecord($table, $liveIds[0], 't3ver_wsid');
                                $workspaceId = $workspaceRecord['t3ver_wsid'];
                        } else {
-                               $workspaceId = $this->tceMain()->BE_USER->workspace;
+                               $workspaceId = $this->getTceMain()->BE_USER->workspace;
                        }
 
                        if ($table === 'pages') {