Issue Bug Rejected

#40407Check for array type in class.tslib_content.php in DBgetInsert()

Maya Posch 08/30/12, 10:35 updated 01/11/15, 20:50

Description

In class.tslib_content.php on line 6968 of Typo3 4.5.19 it is attempted to unset the index ‘uid’ on $dataArr. There is however no guarantee that the provided variable is indeed an array. This can lead to issues such as in this case: http://forge.typo3.org/issues/40402

Suggested is to put an is_array() check on $dataArr prior to attempting to unset said index.

Reviews 0

No change resolves or names this issue in its commit message, and no comment links one.