Actions
Bug #44416
closedHook "modifyDBRow" in "ContentContentObject" does not work!
Start date:
2013-01-09
Due date:
% Done:
100%
Estimated time:
TYPO3 Version:
4.7
PHP Version:
5.3
Tags:
Complexity:
easy
Is Regression:
Sprint Focus:
Description
The hook "modifyDBRow" in class "ContentContentObject" does not work:
Line 104-109 from class "ContentContentObject":
if (is_array($this->TYPO3_CONF_VARS['SC_OPTIONS']['tslib/class.tslib_content_content.php']['modifyDBRow'])) {
foreach ($this->TYPO3_CONF_VARS['SC_OPTIONS']['tslib/class.tslib_content_content.php']['modifyDBRow'] as $_classRef) {
$_procObj = \TYPO3\CMS\Core\Utility\GeneralUtility::getUserObj($_classRef);
$_procObj->modifyDBRow($row, $conf['table']);
}
}
TYPO3_CONF_VARS is accessed via "$this", but TYPO3_CONF_VARS is never a member of current class instance!
It woild have to be accessed via "$GLOBALS['TYPO3_CONF_VARS']"
6.0 and 4.7 are affected by this bug, i think earlier versions are affected too!
Actions