Issue Bug Closed

#21665rendering a custom edit panel via pi_base results in an exception

Björn Pedersen 11/24/09, 14:09 updated 05/10/13, 15:23

Description

cause:
in class.tslib_content.php, function editPanel,

dataArray is overwritten with $this->data, even if $this->data is not an array.

Solution: add an is_array check for $this->data.

changing line 7912 to:
if (!count($dataArr)&&is_array($this->data)) {

see also: http://forge.typo3.org/issues/show/5474
(issue imported from #M12729)

Reviews 0

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