Follow-up to #16302: CGL fixes
authorErnesto Baschny <ernst@cron-it.de>
Tue, 9 Nov 2010 14:20:51 +0000 (14:20 +0000)
committerErnesto Baschny <ernst@cron-it.de>
Tue, 9 Nov 2010 14:20:51 +0000 (14:20 +0000)
git-svn-id: https://svn.typo3.org/TYPO3v4/Core/trunk@9319 709f56b5-9817-0410-a4d7-c38de5d9e867

typo3/sysext/tstemplate_info/class.tx_tstemplateinfo.php

index 8c08a82..3ca5b63 100644 (file)
@@ -151,11 +151,12 @@ class tx_tstemplateinfo extends t3lib_extobjbase {
                $tmpl->tt_track = 0;    // Do not log time-performance information
                $tmpl->init();
 
-               $tplRow = $tmpl->ext_getFirstTemplate($pageId, $template_uid);  // Get the row of the first VISIBLE template of the page. whereclause like the frontend.
-               if(is_array($tplRow)) {
+                       // 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);
                        return TRUE;
-       }
+               }
                return FALSE;
        }