[BUGFIX] Use correct uid for table list in Page module 35/45335/2
authorMarkus Klein <markus.klein@typo3.org>
Thu, 17 Dec 2015 14:32:14 +0000 (15:32 +0100)
committerAndreas Fernandez <typo3@scripting-base.de>
Thu, 17 Dec 2015 15:03:52 +0000 (16:03 +0100)
Regression fix.

Resolves: #72298
Releases: master
Change-Id: I98d70bfaf423d29277607e335abcc286448113f2
Reviewed-on: https://review.typo3.org/45335
Reviewed-by: Gregor Sievert <gregor@gregorsievert.de>
Tested-by: Gregor Sievert <gregor@gregorsievert.de>
Reviewed-by: Andreas Fernandez <typo3@scripting-base.de>
Tested-by: Andreas Fernandez <typo3@scripting-base.de>
typo3/sysext/backend/Classes/View/PageLayoutView.php

index 8f226d5..e37fde2 100644 (file)
@@ -996,7 +996,7 @@ class PageLayoutView extends \TYPO3\CMS\Recordlist\RecordList\AbstractDatabaseRe
                         $urlParameters = [
                             'edit' => [
                                 $table => [
-                                    $this->id => 'edit'
+                                    $row['uid'] => 'edit'
                                 ]
                             ],
                             'returnUrl' => GeneralUtility::getIndpEnv('REQUEST_URI')