Skip to content
Snippets Groups Projects
Commit 6ef95369 authored by Chris Müller's avatar Chris Müller Committed by Christian Kuhn
Browse files

[BUGFIX] Avoid undefined array key "parent." in AbstractPlugin

Resolves: #99085
Releases: main, 11.5
Change-Id: Ie3b337b93f43fb2c41d76427f29d793b57e9232b
Reviewed-on: https://review.typo3.org/c/Packages/TYPO3.CMS/+/76598


Tested-by: default avatarcore-ci <typo3@b13.com>
Reviewed-by: default avatarOliver Klee <typo3-coding@oliverklee.de>
Tested-by: default avatarNikita Hovratov <nikita.h@live.de>
Reviewed-by: default avatarNikita Hovratov <nikita.h@live.de>
Tested-by: default avatarChristian Kuhn <lolli@schwarzbu.ch>
Reviewed-by: default avatarChristian Kuhn <lolli@schwarzbu.ch>
parent 1c631f55
Branches
Tags
No related merge requests found
...@@ -411,7 +411,7 @@ class AbstractPlugin ...@@ -411,7 +411,7 @@ class AbstractPlugin
$conf['no_cache'] = true; $conf['no_cache'] = true;
} }
$conf['parameter'] = $altPageId ?: ($this->pi_tmpPageId ?: 'current'); $conf['parameter'] = $altPageId ?: ($this->pi_tmpPageId ?: 'current');
$conf['additionalParams'] = $this->conf['parent.']['addParams'] . HttpUtility::buildQueryString($urlParameters, '&', true) . $this->pi_moreParams; $conf['additionalParams'] = ($this->conf['parent.']['addParams'] ?? '') . HttpUtility::buildQueryString($urlParameters, '&', true) . $this->pi_moreParams;
return $this->cObj->typoLink((string)$str, $conf); return $this->cObj->typoLink((string)$str, $conf);
} }
......
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