Commit 6f35d833 authored by Michael Oehlhof's avatar Michael Oehlhof Committed by Andreas Fernandez
Browse files

[BUGFIX] BackendUtility::getModuleUrl called with correct parameter count

The obsolete third and fourth parameter are removed from the calls.

Resolves: #78819
Releases: master

Change-Id: I27639218b18d4e19c0dfbe91e834050c460a2b49
Reviewed-on: https://review.typo3.org/50794

Tested-by: default avatarTYPO3com <no-reply@typo3.com>
Reviewed-by: Wouter Wolters's avatarWouter Wolters <typo3@wouterwolters.nl>
Tested-by: Wouter Wolters's avatarWouter Wolters <typo3@wouterwolters.nl>
Reviewed-by: Andreas Fernandez's avatarAndreas Fernandez <typo3@scripting-base.de>
Tested-by: Andreas Fernandez's avatarAndreas Fernandez <typo3@scripting-base.de>
parent 343df1b0
......@@ -640,7 +640,7 @@ class ClickMenu
$urlParams = [];
$urlParams['id'] = $table === 'pages' ? $uid : $rec['pid'];
$urlParams['table'] = $table === 'pages' ? '' : $table;
$url = BackendUtility::getModuleUrl('web_list', $urlParams, '', true);
$url = BackendUtility::getModuleUrl('web_list', $urlParams);
return $this->linkItem(
htmlspecialchars($this->languageService->getLL('CM_db_list')),
$this->iconFactory->getIcon('actions-system-list-open', Icon::SIZE_SMALL)->render(),
......
......@@ -88,7 +88,7 @@ class ElementBrowserController
{
// Fallback for old calls, which use mode "wizard" or "rte" for link selection
if ($this->mode === 'wizard' || $this->mode === 'rte') {
return $response->withStatus(303)->withHeader('Location', BackendUtility::getModuleUrl('wizard_link', $_GET, false, true));
return $response->withStatus(303)->withHeader('Location', BackendUtility::getModuleUrl('wizard_link', $_GET));
}
$response->getBody()->write($this->main());
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment