Fixed bug #10796: Click on (WS 48hour-) preview link in versioning module causes...
authorSteffen Kamper <info@sk-typo3.de>
Fri, 27 Mar 2009 11:19:42 +0000 (11:19 +0000)
committerSteffen Kamper <info@sk-typo3.de>
Fri, 27 Mar 2009 11:19:42 +0000 (11:19 +0000)
git-svn-id: https://svn.typo3.org/TYPO3v4/Core/trunk@5235 709f56b5-9817-0410-a4d7-c38de5d9e867

ChangeLog
typo3/sysext/cms/tslib/index_ts.php

index 8513fd6..0c12bfb 100755 (executable)
--- a/ChangeLog
+++ b/ChangeLog
@@ -4,6 +4,7 @@
 
 2009-03-27  Steffen Kamper  <info@sk-typo3.de>
 
+       * Fixed bug #10796: Click on (WS 48hour-) preview link in versioning module causes a fatal error
        * Fixed bug #10025: ImageMagick generates larger than necessary files
 
 2009-03-27  Michael Stucki  <michael@typo3.org>
index b5f50f2..4f672a9 100644 (file)
@@ -185,7 +185,7 @@ $TSFE->connectToDB();
 
        // In case of a keyword-authenticated preview, re-initialize the TSFE object:
 if ($temp_previewConfig = $TSFE->ADMCMD_preview())     {
-       $TSFE = new $temp_TSFEclassName(
+       $TSFE = t3lib_div::makeInstance('tslib_fe',
                $TYPO3_CONF_VARS,
                t3lib_div::_GP('id'),
                t3lib_div::_GP('type'),