[BUGFIX] Use correct variable name for backend layouts 82/25182/2
authorGeorg Ringer <georg.ringer@gmail.com>
Wed, 6 Nov 2013 05:31:17 +0000 (06:31 +0100)
committerGeorg Ringer <georg.ringer@gmail.com>
Wed, 6 Nov 2013 05:33:31 +0000 (06:33 +0100)
Because of using a wrong variable name the backend layouts
are not working anymore inside a content element as the items of the
colpos list are never changed

Resolves: #53304
Releases: 6.2
Change-Id: I021e4eaaf3be56ee1ce05bd9707ffd537edb5dcc
Reviewed-on: https://review.typo3.org/25182
Reviewed-by: Georg Ringer
Tested-by: Georg Ringer
typo3/sysext/backend/Classes/View/BackendLayoutView.php

index 9f6c3d2..a6a0bab 100644 (file)
@@ -244,7 +244,7 @@ class BackendLayoutView implements \TYPO3\CMS\Core\SingletonInterface {
                $pageId = $this->determinePageId($parameters['table'], $parameters['row']);
 
                if ($pageId !== NULL) {
-                       $params['items'] = $this->addColPosListLayoutItems($pageId, $parameters['items']);
+                       $parameters['items'] = $this->addColPosListLayoutItems($pageId, $parameters['items']);
                }
        }