Actions
Bug #69948
closedWarnings in DataHandler on undefined array indexes
Status:
Closed
Priority:
Should have
Assignee:
Category:
DataHandler aka TCEmain
Target version:
Start date:
2015-09-18
Due date:
% Done:
100%
Estimated time:
TYPO3 Version:
7
PHP Version:
5.5
Tags:
Complexity:
Is Regression:
No
Sprint Focus:
Description
Accessing array indexes that actually do not exist results in PHP warnings. This behavior is caught by using isset() or empty() but is not if using array_key_exists() on invalid array (e.g. NULL values).
Example warning:PHP Warning: array_key_exists() expects parameter 2 to be array, null given in typo3/master/typo3/sysext/core/Classes/DataHandling/DataHandler.php line 1640
Actions