[FOLLOWUP][TASK] Fluidification of TypoScriptTemplateModuleController 72/49372/2
authorAnja Leichsenring <aleichsenring@ab-softlab.de>
Thu, 4 Aug 2016 10:33:23 +0000 (12:33 +0200)
committerAnja Leichsenring <aleichsenring@ab-softlab.de>
Thu, 4 Aug 2016 10:44:25 +0000 (12:44 +0200)
Wrong Template was used to display empty Template view.

Resolves: #75028
Releases: master
Change-Id: Ib551c0c0b2004ca700654d8875fc5d1fcd0c1109
Reviewed-on: https://review.typo3.org/49372
Reviewed-by: Claus Due <claus@phpmind.net>
Reviewed-by: Michael Oehlhof <typo3@oehlhof.de>
Tested-by: Michael Oehlhof <typo3@oehlhof.de>
Tested-by: Bamboo TYPO3com <info@typo3.com>
Reviewed-by: Tobias Adolph <mail@tobiasadolph.de>
Tested-by: Tobias Adolph <mail@tobiasadolph.de>
Reviewed-by: Anja Leichsenring <aleichsenring@ab-softlab.de>
Tested-by: Anja Leichsenring <aleichsenring@ab-softlab.de>
typo3/sysext/tstemplate/Classes/Controller/TypoScriptTemplateModuleController.php

index cd4b6a9..b2e08ef 100644 (file)
@@ -483,7 +483,7 @@ class TypoScriptTemplateModuleController extends BaseScriptClass
             $previousPage['aHref'] = BackendUtility::getModuleUrl('web_ts', $urlParameters);
             $moduleContent['previousPage'] = $previousPage;
         }
-        $view = $this->getFluidTemplateObject('tstemplate', 'NoTemplate');
+        $view = $this->getFluidTemplateObject('tstemplate', 'Main');
         $view->assign('partialName', 'NoTemplate');
         $view->assign('content', $moduleContent);
         return $view->render();