Project

General

Profile

Actions

Bug #71329

closed

Flexform: Allow section = 1 (integer)

Added by Daniel Goerz about 9 years ago. Updated about 7 years ago.

Status:
Closed
Priority:
Should have
Assignee:
-
Category:
FormEngine aka TCEforms
Target version:
Start date:
2015-11-04
Due date:
% Done:

100%

Estimated time:
TYPO3 Version:
7
PHP Version:
Tags:
Complexity:
easy
Is Regression:
No
Sprint Focus:

Description

If the Flexform data structure has 'section' set to 1 (integer) the following condition will not match:

if (isset($dataStructureSheetElementDefinition['type']) && $dataStructureSheetElementDefinition['type'] === 'array'
    && isset($dataStructureSheetElementDefinition['section']) && $dataStructureSheetElementDefinition['section'] === '1'
)

An integer value of 1 should not lead to an exception.

Actions

Also available in: Atom PDF