Initialise a new content object in simulated frontend
authorNicole Cordes <cordes@cps-it.de>
Tue, 30 Apr 2013 22:11:47 +0000 (00:11 +0200)
committerNicole Cordes <cordes@cps-it.de>
Tue, 30 Apr 2013 22:11:47 +0000 (00:11 +0200)
ChangeLog
Classes/Service/CommunicationService.php

index 50cf7a6..2f0c043 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,6 +1,7 @@
 2013-05-01 Nicole Cordes <cordes@cps-it.de>
 
        * Set current backend language as frontend language
+       * Initialise a new content object in simulated frontend
 
 2013-02-18 Nicole Cordes <cordes@cps-it.de>
 
index b3c2ee7..cc58a8c 100644 (file)
@@ -162,6 +162,7 @@ class tx_vcc_service_communicationService implements t3lib_Singleton {
                                // Set current backend language
                        $GLOBALS['TSFE']->getPageRenderer()->setLanguage($GLOBALS['LANG']->lang);
                }
+               $GLOBALS['TSFE']->newcObj();
 
                TSpagegen::pagegenInit();
        }