[BUGFIX] Avoid PHP Warning in Page Module 12/17712/4
authorRoland Waldner <most.wanted@gmx.at>
Wed, 16 Jan 2013 07:18:46 +0000 (08:18 +0100)
committerGeorg Ringer <georg.ringer@gmail.com>
Fri, 25 Jan 2013 18:35:35 +0000 (19:35 +0100)
Change-Id: I218065a3445211d88ce131ecf23da3a947eb2e70
Resolves: #44540
Branches: 6.1, 6.0
Reviewed-on: https://review.typo3.org/17562
Reviewed-by: Mattias Nilsson
Reviewed-by: Georg Ringer
Tested-by: Georg Ringer
Reviewed-on: https://review.typo3.org/17712

typo3/sysext/backend/Classes/View/PageLayoutView.php

index 8c61e3b..a2eb204 100644 (file)
@@ -441,7 +441,7 @@ class PageLayoutView extends \TYPO3\CMS\Recordlist\RecordList\AbstractDatabaseRe
                                        ';
                                        $editUidList = '';
                                        $rowArr = $contentRecordsPerColumn[$key];
-                                       foreach ($rowArr as $rKey => $row) {
+                                       foreach ((array) $rowArr as $rKey => $row) {
                                                if ($this->tt_contentConfig['languageMode']) {
                                                        $languageColumn[$key][$lP] = $head[$key] . $content[$key];
                                                        if (!$this->defLangBinding) {