Issue Bug Closed

#71329Flexform: Allow section = 1 (integer)

Daniel Goerz 11/04/15, 21:07 updated 10/19/17, 21:59

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.

Reviews 1