Project

General

Profile

Actions

Bug #21665

closed

rendering a custom edit panel via pi_base results in an exception

Added by Björn Pedersen almost 15 years ago. Updated over 11 years ago.

Status:
Closed
Priority:
Should have
Assignee:
-
Category:
-
Target version:
-
Start date:
2009-11-24
Due date:
% Done:

0%

Estimated time:
TYPO3 Version:
4.3
PHP Version:
4.3
Tags:
Complexity:
Is Regression:
Sprint Focus:

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)


Files

class_tslib_content.patch (398 Bytes) class_tslib_content.patch Administrator Admin, 2009-11-25 08:31
Actions

Also available in: Atom PDF