Issue Bug Rejected

#72113Invalid argument warning in backend sysext

A. Sheydin 12/08/15, 19:34 updated 12/16/15, 19:04

Description

In TYPO3 7.6.0 and tt_products 2.8.1 I got the following PHP Warning:

#1: PHP Warning: Invalid argument supplied for foreach() in /homepages/46/d289040129/htdocs/yellow-head.de/typo3_src-7.6.0/typo3/sysext/backend/Classes/Form/Container/InlineControlContainer.php line 194 (More information)

TYPO3\CMS\Core\Error\Exception thrown in file
/homepages/46/d289040129/htdocs/yellow-head.de/typo3_src-7.6.0/typo3/sysext/core/Classes/Error/ErrorHandler.php in line 111.
[…]

which was fixed by Franz Holzinger, the tt_products author in the backend sysext as follows:

typo3/sysext/backend/Classes/Form/Container/InlineControlContainer.php Line 194

if (!empty($possibleRecords)) {
    foreach ($possibleRecords as $possibleRecord) {
        $possibleRecordsUidToTitle[$possibleRecord[1]] = $possibleRecord[0];
    }
}

Please apply in the next release. Thank you.

Reviews 0

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