Actions
Bug #43068
closedMethod modifyDBRow (FrontendContentAdapterService)
Start date:
2012-11-18
Due date:
% Done:
100%
Estimated time:
TYPO3 Version:
6.0
PHP Version:
5.3
Tags:
Complexity:
Is Regression:
Sprint Focus:
Description
The method doesn't check if a row is an array, so if $row is empty this method always creates an array and adds $row['_MIGRATED'] element.
When using TypoScipt to get some data from TEXT object there is a check if $fieldArray is an array. So this condition will be always false:
ContentObjectRender.php public function getData($string, $fieldArray) { global $TYPO3_CONF_VARS; if (!is_array($fieldArray)) { $fieldArray = $GLOBALS['TSFE']->page; }
We should check in modifyDBRow method if a data argument is an array.
Actions