#35681cObj->RECORDS/CONTENT
Description
Hi guys,
got a problem using cObj->RECORDS or cObj->CONTENT inside an old extension. In Typo3 4.6.7, the extensions “main” function won’t return anything if one of these functions have been used.
The output looks fine, debugging via “echo $this->cObj->RECORDS” will output the desired record.
The entire main-function inside my testing extension looks like this:
function main($content,$conf) {
$content = ‘bla’;
$rConf = array(‘tables’ => ‘tt_content’, ‘source’ => ‘19’, ‘dontCheckPid’ => 1);
$cConf = array(
‘table’ => ‘tt_content’,
‘select.’ => array(
‘pidInList’ => 2
)
);
$content .= $this->cObj->CONTENT;
return $this->pi_wrapInBaseClass($content);
}
Installed this test-extension on a 4.6.2 project and everything worked.
Reviews 0
No change resolves or names this issue in its commit message, and no comment links one.