Issue Bug Closed

#67270Invalid compatibility layer in DatabaseRecordList

Tim Lochmüller 06/03/15, 10:15 updated 10/02/18, 11:44

Description

Hey guys,

the compatibility layer in the DatabaseRecordList is broken, because the restructure of the $cells is done in each iteration, but the reset of the $cells is only done once (after the iteration).
The attached patch move the reorganisation of the $cells in front of the iteration.

Notice: At the moment the backend display many PHP warnings (PHP Warning / PHP Warning: Invalid argument supplied for foreach() in /opt/typo3_src/typo3_current/typo3/sysext/recordlist/Classes/RecordList/DatabaseRecordList.php line 1418), if there is MORE THAN ONE class uses this hook.

Regards,
Tim

Reviews 1