Skip to content

Commit

Permalink
[BUGFIX] Multi-selection mode in List module
Browse files Browse the repository at this point in the history
$GLOBALS['SOBE'] is still used in DatabaseRecordList.

Regression from
https://review.typo3.org/c/Packages/TYPO3.CMS/+/59357

Resolves: #88079
Resolves: #87902
Related: #87354
Releases: master
Change-Id: I7327a86e1597bef0f57b8c23a7a36660d2e933ef
Reviewed-on: https://review.typo3.org/c/Packages/TYPO3.CMS/+/61232
Tested-by: Andreas Fernandez <a.fernandez@scripting-base.de>
Tested-by: TYPO3com <noreply@typo3.com>
Tested-by: Daniel Goerz <daniel.goerz@posteo.de>
Reviewed-by: Andreas Fernandez <a.fernandez@scripting-base.de>
Reviewed-by: Daniel Goerz <daniel.goerz@posteo.de>
  • Loading branch information
dawind authored and ervaude committed Jul 5, 2019
1 parent 71acb53 commit d791f9c
Showing 1 changed file with 2 additions and 0 deletions.
Expand Up @@ -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);
Expand Down

0 comments on commit d791f9c

Please sign in to comment.