diff --git a/typo3/sysext/recordlist/Classes/Controller/RecordListController.php b/typo3/sysext/recordlist/Classes/Controller/RecordListController.php index ce9968a453f0..6f3c96af4c9e 100644 --- a/typo3/sysext/recordlist/Classes/Controller/RecordListController.php +++ b/typo3/sysext/recordlist/Classes/Controller/RecordListController.php @@ -590,6 +590,8 @@ public function mainAction(ServerRequestInterface $request): ResponseInterface $this->site = $request->getAttribute('site'); $this->siteLanguages = $this->site->getAvailableLanguages($this->getBackendUserAuthentication(), false, (int)$this->id); BackendUtility::lockRecords(); + // @deprecated since TYPO3 v9, will be removed in TYPO3 v10.0. Can be removed along with $this->doc. Still used in DatabaseRecordList + $GLOBALS['SOBE'] = $this; $this->init(); $this->clearCache(); $this->main($request);