[BUGFIX] DataProviderContext uses wrong member field in setter 28/30028/2
authorTim Schreiner <schreiner.tim@gmail.com>
Mon, 12 May 2014 17:21:19 +0000 (19:21 +0200)
committerWouter Wolters <typo3@wouterwolters.nl>
Mon, 12 May 2014 21:27:22 +0000 (23:27 +0200)
Resolves: #58731
Releases: 6.2
Change-Id: Ic3c5417d19b165009ae500a19b565569e2d8b2b2
Reviewed-on: https://review.typo3.org/30028
Reviewed-by: Markus Klein
Tested-by: Markus Klein
Reviewed-by: Wouter Wolters
Tested-by: Wouter Wolters
typo3/sysext/backend/Classes/View/BackendLayout/DataProviderContext.php

index b5a58e7..132641a 100644 (file)
@@ -103,7 +103,7 @@ class DataProviderContext implements \TYPO3\CMS\Core\SingletonInterface {
         * @return DataProviderContext
         */
        public function setFieldName($fieldName) {
-               $this->field = $fieldName;
+               $this->fieldName = $fieldName;
                return $this;
        }