Follow-up to #16302: Fixes missing tplRow leading to a broken "Edit TypoScript file...
authorErnesto Baschny <ernst@cron-it.de>
Sun, 14 Nov 2010 00:10:57 +0000 (00:10 +0000)
committerErnesto Baschny <ernst@cron-it.de>
Sun, 14 Nov 2010 00:10:57 +0000 (00:10 +0000)
git-svn-id: https://svn.typo3.org/TYPO3v4/Core/trunk@9378 709f56b5-9817-0410-a4d7-c38de5d9e867

ChangeLog
typo3/sysext/tstemplate_info/class.tx_tstemplateinfo.php

index e11a9b5..2425e93 100755 (executable)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,6 +1,7 @@
 2010-11-13  Ernesto Baschny  <ernst@cron-it.de>
 
        * Added feature #15666: sys_language table icon should be the flag you selected, using the new flag sprite (Thanks to Steffen Ritter)
+       * Follow-up to #16302: Fixes missing tplRow leading to a broken "Edit TypoScript file content in t3editor" (Thanks to Fabrizio Branca)
 
 2010-11-13  Benjamin Mack  <benni@typo3.org>
 
index 3ca5b63..f614b85 100644 (file)
@@ -154,7 +154,7 @@ class tx_tstemplateinfo extends t3lib_extobjbase {
                        // Get the row of the first VISIBLE template of the page. whereclause like the frontend.
                $tplRow = $tmpl->ext_getFirstTemplate($pageId, $template_uid);
                if (is_array($tplRow)) {
-                       $this->processTemplateRowAfterLoading($tplRow);
+                       $tplRow = $this->processTemplateRowAfterLoading($tplRow);
                        return TRUE;
                }
                return FALSE;