Project

General

Profile

Actions

Bug #16601

closed

Deletion of Flex element not working

Added by emds-itsupport about 18 years ago. Updated over 11 years ago.

Status:
Closed
Priority:
Should have
Assignee:
-
Category:
-
Target version:
-
Start date:
2006-09-27
Due date:
% Done:

0%

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

Description

When deleting section-wise objects within a Flexform and we want to delete one, I get an error message and the the element is not removed.

Corrective patch would be:
In t3lib_tcemain.php, Line 1958, to replace the line:

if (is_array($dataValues[$key]['el'][$ik][$theKey]['el']))    {

By:
if (is_array($dataValues[$key]['el'][$ik][$theKey]['el']) && is_array($dataValues_current[$key]['el'][$ik]) && is_array($dataValues_current[$key]['el'][$ik][$theKey]) ) {

(issue imported from #M4295)

Actions

Also available in: Atom PDF