[FEATURE] Change references to pObj. Resolves #33052
authorfab1en <fab1en@735d13b6-9817-0410-8766-e36946ffe9aa>
Tue, 10 Jan 2012 07:15:16 +0000 (07:15 +0000)
committerfab1en <fab1en@735d13b6-9817-0410-8766-e36946ffe9aa>
Tue, 10 Jan 2012 07:15:16 +0000 (07:15 +0000)
git-svn-id: https://svn.typo3.org/TYPO3v4/Extensions/phpdisplay/trunk@56159 735d13b6-9817-0410-8766-e36946ffe9aa

ChangeLog
class.tx_phpdisplay.php

index aec7a70..b690570 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,7 @@
+2012-01-08 Francois Suter (Cobweb)  <typo3@cobweb.ch>
+
+       * Replaced reference to parent object with new, general member variable, resolves #33053
+
 2010-09-27 Francois Suter (Cobweb)  <typo3@cobweb.ch>
 
        * initial code generated with kickstarter
index ffebbaf..b1e8a1d 100644 (file)
@@ -2,7 +2,7 @@
 /***************************************************************
 *  Copyright notice
 *
-*  (c) 2007-2010       Francois Suter (Cobweb) <typo3@cobweb.ch>
+*  (c) 2008-2012       Francois Suter (Cobweb) <typo3@cobweb.ch>
 *                                      Fabien Udriot <fabien.udriot@ecodev.ch>
 *  All rights reserved
 *
@@ -73,7 +73,7 @@ class tx_phpdisplay extends tx_tesseract_feconsumerbase {
         * @return      array
         */
        public function getController() {
-               return $this->pObj;
+               return $this->controller;
        }
 
        /**
@@ -176,12 +176,12 @@ class tx_phpdisplay extends tx_tesseract_feconsumerbase {
 
                // Loads the template file
                $templateFile = $this->consumerData['template'];
-               
+
                if (preg_match('/^FILE:/isU', $templateFile)) {
                        $filePath = str_replace('FILE:', '' , $templateFile);
                        $templateFile = t3lib_div::getFileAbsFileName($filePath);
                }
-               
+
                if (is_file($templateFile)) {
                        $template = t3lib_div::makeInstance('tx_phpdisplay_template');
                        $template->set('controller', $this->getController());