Actions
Bug #40407
closedCheck for array type in class.tslib_content.php in DBgetInsert()
Status:
Rejected
Priority:
Should have
Assignee:
-
Category:
-
Target version:
-
Start date:
2012-08-30
Due date:
% Done:
0%
Estimated time:
TYPO3 Version:
4.5
PHP Version:
Tags:
Complexity:
Is Regression:
No
Sprint Focus:
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.
Updated by Mathias Schreiber almost 10 years ago
- Status changed from New to Rejected
- Is Regression set to No
PHP handles this
Actions