Issue Bug Closed

#16601Deletion of Flex element not working

emds-itsupport 09/27/06, 20:32 updated 04/20/13, 19:14

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)

Reviews 0

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