[BUGFIX] Hook call modifyDBRow in ContentContentObject
[Packages/TYPO3.CMS.git] / typo3 / sysext / cms / tslib / content / class.tslib_content_content.php
index 7d8dd69..de0adb0 100644 (file)
@@ -125,8 +125,8 @@ class tslib_content_Content extends tslib_content_Abstract {
 
                                                if (is_array($row)) { // Might be unset in the sys_language_contentOL
                                                                // Call hook for possible manipulation of database row for cObj->data
-                                                       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)     {
+                                                       if (is_array($GLOBALS['TYPO3_CONF_VARS']['SC_OPTIONS']['tslib/class.tslib_content_content.php']['modifyDBRow']))        {
+                                                               foreach($GLOBALS['TYPO3_CONF_VARS']['SC_OPTIONS']['tslib/class.tslib_content_content.php']['modifyDBRow'] as $_classRef)        {
                                                                        $_procObj = t3lib_div::getUserObj($_classRef);
                                                                        $_procObj->modifyDBRow($row, $conf['table']);
                                                                }